About 15,700,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. Correct format specifier for double in printf - Stack Overflow

    Format %lf in printf was not supported in old (pre-C99) versions of C language, which created superficial "inconsistency" between format specifiers for double in printf and scanf.

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

  4. c++ - double and accuracy - Stack Overflow

    Jun 19, 2012 · A double typically provides 16 (±1) decimal digits. Your example shows this: 4 8 12 16 v v v v 0.947368421052631578 long double 0.947368421052631526 double The answers …

  5. 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 × …

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

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

  9. Convert double to BigDecimal and set BigDecimal Precision

    In Java, I want to take a double value and convert it to a BigDecimal and print out its String value to a certain precision. import java.math.BigDecimal; public class Main { public static void

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