About 31,000,000 results
Open links in new tab
  1. Integer division: How do you produce a double? - Stack Overflow

    double d = ((double) num) / denom; But is there another way to get the correct double result? I don't like casting primitives, who knows what may happen.

  2. Difference between numeric, float and decimal in SQL Server

    Jun 29, 2009 · Double is a good combination of precision and simplicty for a lot of calculations. You can create a very high precision number with decimal -- up to 136-bit -- but you also have to be careful …

  3. windows - How to run a PowerShell script - Stack Overflow

    Double-clicking it in Explorer produces the same result. "File type association" (without further specification) means the default ("open") shell command. "Calling the file directly" as in the 1st …

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

  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 × 10 308 (if …

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

  7. c++ - How to round a double to an int? - Stack Overflow

    double x = 54.999999999999943157; int y = (int) x; y = 54 instead of 55! This puzzled me for a long time. How do I get it to correctly round?

  8. 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 inconsistent (uses …

  9. c - printf and long double - Stack Overflow

    2 printf and scanf function in C/C++ uses Microsoft C library and this library has no support for 10 byte long double. So when you are using printf and scanf function in your C/C++ code to print a long …

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