About 21,300,000 results
Open links in new tab
  1. 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.

  2. java - Converting double to string - Stack Overflow

    39 Using Double.toString (), if the number is too small or too large, you will get a scientific notation like this: 3.4875546345347673E-6. There are several ways to have more control of output …

  3. html - Single vs Double quotes (' vs ") - Stack Overflow

    To answer the question about whether using single- vs double-quotes as means to determine hand-written vs generated HTML, no it's probably not a good idea. While code that is …

  4. Convert float to double without losing precision - Stack Overflow

    double d = f; Then the value of f might be exactly 0.100000234523. d will have exactly the same value, but when you convert it to a string it will "trust" that it's accurate to a higher precision, so …

  5. How do I use bitwise operators on a "double" on C++?

    Now by accessing elements c[0] through c[sizeof(double) - 1] you will see the internal representation of type double. You can use bitwise operations on these unsigned char values, …

  6. java - Comparator with double type - Stack Overflow

    1 Use Double.compare(/**double value 1*/, /**double value 2*/); with a new Comparator for your model class double value.

  7. c# - Get the decimal part from a double - Stack Overflow

    I want to receive the number after the decimal dot in the form of an integer. For example, only 05 from 1.05 or from 2.50 only 50 not 0.50

  8. arrays - Initialize a List<Double []> with single dimension and 3 ...

    List<double[]> points = new List<double> /*What happens after this point doesn't matter, you're trying to create a new list of double, and to assign it to a list of arrays, this cannot work*/ {0.0, …

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

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