🌐
W3Schools
w3schools.com › java › ref_keyword_double.asp
Java double Keyword
Java Examples Java Videos Java ... Interview Q&A Java Certificate ... The double keyword is a data type that can store fractional numbers from 1.7e−308 to 1.7e+308....
🌐
Baeldung
baeldung.com › home › java › java numbers › comparing doubles in java
Comparing Doubles in Java | Baeldung
December 11, 2025 - The recommended algorithm to compare double values in plain Java is a threshold comparison method.
Discussions

Should I always use doubles in Java?
Integer division is not necessarily undesirable. And floating points have their own set of quirks that make them potentially unsuitable for things like monetary calculations without specific handling (for monetary values, most software stores them as integer numbers of cents rather than floats for efficiency and precision reasons). More on reddit.com
🌐 r/learnprogramming
7
2
February 19, 2022
[New CS Student]Trouble differentiating between floats and doubles--why is 23.5 considered a double?
Every decimal number literal will be considered a double by default unless specified as float with the f. Same goes for whole numbers being integers by default. More on reddit.com
🌐 r/learnjava
7
5
July 7, 2021
Can't open .jar files by double clicking them?
Double clicking a jar file should cause it to run.. By the sound of it, it is running? If a window is popping up, that means the program is running, right? If you want something to actually open, run it using java -jar (jar-name) to view the console output. If you're running something that should be making a gui but isn't (like javafx/swing etc) please provide more information. If your program is simply a CLI application, it's working as intended. You double click it, it runs through main method, and does everything it has to, then terminates. You can ensure that it's actually running by making a program which creates a blank .txt file in that directory. If you -need- to see the console output (and can't make it write a log to a file etc), do one of the following: Create a simple .bat file. (Will be double-clickable like a program, but will simply open up a console window and run the program inside of it.) run it in a terminal (java -jar (jarname)) More on reddit.com
🌐 r/javahelp
5
2
August 1, 2019
Java: Comparing two numbers of type double to three decimal places using a boolean value
Try to find a math formula to solve the problem. Maybe, knowing the Math.abs() in Java will be useful ... More on reddit.com
🌐 r/learnprogramming
8
1
January 20, 2019
🌐
Programming.Guide
programming.guide › java › double-vs-double.html
Java: Double (class) vs double (primitive) | Programming.Guide
Double is the wrapper type for the primitive type double. Objects of type Double are often referred to as boxed values. The fundamental difference is that Double is a class defined in the standard library, while double is part of the language itself.
🌐
CodeGym
codegym.cc › java blog › java numbers › java double keyword
Java double keyword
February 19, 2025 - Java provides primitive data types like double for efficiency and simplicity. They aren’t objects, so they don’t come with object-oriented features. On the flip side, wrapper classes like Double wrap those primitive values in an object. That means you can store them in data structures that only accept objects, such as Collections.
🌐
Oracle
docs.oracle.com › javase › 8 › docs › api
Double (Java Platform SE 8 )
October 20, 2025 - JavaScript is disabled on your browser · Frame Alert · This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version
🌐
W3Schools
w3schools.com › java › java_data_types.asp
Java Data Types
Note: This rule makes Java safer, because the compiler will stop you if you try to mix up types by mistake. If you really need to change between types, you must use type casting or conversion methods (for example, turning an int into a double).
🌐
Katalon
katalon.com › blog › insights › double click in selenium: how to use it?
Double Click in Selenium: How To Use It?
3 weeks ago - Use the Actions class to build and perform a double-click on a target element: initialize WebDriver, navigate, locate the element (e.g., By.id("double-click-target")), then new Actions(driver).doubleClick(element).perform();. Double-click is useful for behaviors like selecting text, opening files, or revealing hidden UI. ... Java: Locate the element, then new Actions(driver).contextClick(element).perform(); to open a context menu.
Find elsewhere
🌐
Oreate AI
oreateai.com › blog › understanding-the-differences-between-float-and-double-in-java › c3c286ab040395ed3dc339ee0a71e541
Understanding the Differences Between Float and Double in Java - Oreate AI Blog
January 15, 2026 - The IEEE 754 standard outlines this distinction clearly—float has one sign bit, eight bits for exponent representation, and twenty-three bits for mantissa (the part of the number before any decimal). In contrast, double allocates one sign bit as well but expands its exponent field to eleven bits while providing fifty-two bits for mantissa.
🌐
Dutch Bros
dutchbros.com › menu › blended-freeze
Blended Freeze - Blended coffee perfection paired with your favorite flavor. - Dutch Bros Coffee
Creamy Espresso, Extra Double Shot Espresso, Vanilla & Chocolate Milk · Creamy Espresso, Extra Double Shot Espresso & Irish Cream · Creamy Espresso & Chocolate Milk · Creamy Espresso, White Chocolate & Chocolate Milk · Creamy Espresso, Vanilla, Chocolate Macadamia Nut, Chocolate Milk w/ ...
🌐
Tutorialspoint
tutorialspoint.com › home › java/lang › java double class overview
Java Double Class Overview
September 1, 2008 - The Java Double class wraps a value of primitive type double in an object.
🌐
Quora
quora.com › Why-does-Java-use-double-for-floating-point-numbers-instead-of-long-for-scientific-calculations
Why does Java use double for floating point numbers instead of long for scientific calculations? - Quora
Answer: Usage of floating point arithmetics in scientific calculations is not related to Java. Floating points are able to represent real number with varying precision for different magnitudes: number with smaller magnitudes are represented with higher precision and numbers with large magnitudes...
🌐
Simplilearn
simplilearn.com › home › resources › software development › float vs double in java: key differences you should know
Float vs Double in Java: Key Differences You Should Know
November 17, 2025 - Explore the key differences between float and double in Java. Our comprehensive guide helps you choose the right type for your Java applications. Perfect for new coders!
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › api › java.lang.double
Double Class (Java.Lang) | Microsoft Learn
The Double class wraps a value of the primitive type double in an object. [Android.Runtime.Register("java/lang/Double", DoNotGenerateAcw=true)] public sealed class Double : Java.Lang.Number, IConvertible, IDisposable, Java.Interop.IJavaPeerable, ...
🌐
Jtcindia
jtcindia.org › tutorials › java › java_lang_double.php
Java Double Class - Methods and Usage
Learn about the java.lang.Double class in Java. Explore methods for working with double values, converting strings to doubles, and performing double operations.
🌐
Home and Learn
homeandlearn.co.uk › java › double_variables.html
java for complete beginners - double variables
Change the int from your previous code to double. So change this: ... Leave the rest of the programme as it is. Your coding window should look like this: Run your programme again. The output window should look like this: Try changing the values stored in first_number and second_number. Use any values you like. Run your programme and see what happens. In the next part, you'll learn about two more Java variable types: short and float.
🌐
Dsc
connect.dsc.com › market-outlook › Can-JAVA-stock-double-in-coming-years
Can JAVA stock double in coming years - Exit Point & ...
December 12, 2025 - Welcome to DSC Connect Installer Portal · My account · Log in · Register · Close · Personal menu · Filters · ×Close · Technical Support
🌐
GeeksforGeeks
geeksforgeeks.org › java › java-lang-double-class-java
Java.Lang.Double Class in Java - GeeksforGeeks
July 23, 2025 - Java Collection · Last Updated : 23 Jul, 2025 · Double class is a wrapper class for the primitive type double which contains several methods to effectively deal with a double value like converting it to a string representation, and vice-versa.