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

    Mar 5, 2010 · 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++ - Double precision - decimal places - Stack Overflow

    Oct 20, 2017 · From what I have read, a value of data type double has an approximate precision of 15 decimal places. However, when I use a number whose decimal representation repeats, …

  3. 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)

  4. Integer division: How do you produce a double? - Stack Overflow

    double num = 5; That avoids a cast. But you'll find that the cast conversions are well-defined. You don't have to guess, just check the JLS. int to double is a widening conversion. From §5.1.2: …

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

    Apr 22, 2015 · Possible Duplicate: long double vs double I am new to programming and I am unable to understand the difference between between long double and double in C and C++. I …

  6. c++ - what's a variable with & -> double& - Stack Overflow

    Sep 12, 2011 · 5 double& is just a double passed by reference. In VB.NET, it would be declared ByRef dec_deg as Double. EDIT: However, I would recommend instead of using a void …

  7. c - How do I get DOUBLE_MAX? - Stack Overflow

    AFAIK, C supports just a few data types: int, float, double, char, void enum. I need to store a number that could reach into the high 10 digits. Since I'm getting a low 10 digit # from …

  8. 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 …

  9. java - Comparator with double type - Stack Overflow

    Comparator with double type Asked 14 years, 10 months ago Modified 5 years, 8 months ago Viewed 119k times

  10. Should I use double or float? - Stack Overflow

    Jul 2, 2009 · A double has a much higher precision due to it's difference in size. If the numbers you are using will commonly exceed the value of a float, then use a double. Several other …