About 18,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 other does not seem …

  2. 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.

  3. c++ - Double precision - decimal places - Stack Overflow

    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, such as 1.0/7.0, I find tha...

  4. 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 intValue, which …

  5. How do I print a double value with full precision using cout?

    In my earlier question I was printing a double using cout that got rounded when I wasn't expecting it. How can I make cout print a double using full precision?

  6. decimal vs double! - Which one should I use and when?

    Jul 22, 2009 · When should I use double instead of decimal? has some similar and more in depth answers. Using double instead of decimal for monetary applications is a micro-optimization - that's …

  7. java - Double vs. BigDecimal? - Stack Overflow

    There are two main differences from double: Arbitrary precision, similarly to BigInteger they can contain number of arbitrary precision and size (whereas a double has a fixed number of bits) Base 10 …

  8. What does the !! (double exclamation mark) operator do in JavaScript ...

    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 second one …

  9. 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?

  10. Biggest integer that can be stored in a double - Stack Overflow

    Dec 5, 2009 · The biggest/largest integer that can be stored in a double without losing precision is the same as the largest possible value of a double. That is, DBL_MAX or approximately 1.8 × 10 308 (if …