About 19,400,000 results
Open links in new tab
  1. What is the difference between float and double? - Stack Overflow

    Dec 31, 2021 · I've read about the difference between double precision and single precision. However, in most cases, float and double seem to be interchangeable, i.e. using one or the …

  2. c - 'float' vs. 'double' precision - Stack Overflow

    The 53 bits of double s give about 16 digits of precision. The 24 bits of float s give about 7 digits of precision.

  3. Correct format specifier for double in printf - Stack Overflow

    L Specifies that a following a, A, e, E, f, F, g, or G conversion specifier applies to a long double argument. The same rules specified for fprintf apply for printf, sprintf and similar functions.

  4. methods - Double vs double in java - Stack Overflow

    Nov 11, 2012 · Possible Duplicate: Java : different double and Double in comparison In a sample java program for one of my labs, I have two different methods taking Double and double …

  5. What is the difference between "Double" and "double" in Java?

    39 This question already has answers here: Double vs double in java [duplicate] (7 answers) Difference between decimal, float and double in .NET? (19 answers)

  6. What does the !! (double exclamation mark) operator do in …

    The double "not" in this case is quite simple. It is simply two not s back to back. The first one simply "inverts" the truthy or falsy value, resulting in an actual Boolean type, and then the …

  7. java - Cast Double to Integer - Stack Overflow

    494 A Double is not an Integer, so the cast won't work. Note the difference between the Double class and the double primitive. Also note that a Double is a Number, so it has the method …

  8. Difference between long double and double in C and C++

    Apr 22, 2015 · Possible Duplicate: long double vs double I am unable to understand the difference between between long double and double in C and C++. Can anyone help?

  9. How do I print a double value without scientific notation using …

    Double.toString() or System.out.println or FloatingDecimal.toJavaFormatString uses scientific notations if double is less than 10^-3 or greater than or equal to 10^7 By using %f, the default …

  10. Checking if a variable is of data type double - Stack Overflow

    Mar 22, 2012 · 12 How can I realiably check if a variable is a double? You need to be clearer about what you're really trying to do here. I don't think you're asking what you think you're …