About 50 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 other does not …

  2. What exactly is the difference between 'float' and 'double' floating ...

    Oct 5, 2016 · 1 I've seen examples of the terms "float" and "double" being applied to different scenarios and seem to understand that bits and bytes serve some role, but I cannot find a clear explanation of …

  3. c++ - Should I use double or float? - Stack Overflow

    Jul 2, 2009 · If you're dealing with huge quantities of numbers, than perhaps the size difference between a 4-byte float and an 8-byte double might make a difference in memory footprint.

  4. Float and double datatype in Java - Stack Overflow

    Dec 22, 2014 · The float data type is a single-precision 32-bit IEEE 754 floating point and the double data type is a double-precision 64-bit IEEE 754 floating point. What does it mean? And when should …

  5. Difference between decimal, float and double in .NET?

    Mar 6, 2009 · What is the difference between decimal, float and double in .NET? When would someone use one of these?

  6. When do you use float and when do you use double

    The choice of what variable to use between float and double depends on the accuracy of the data required. If an answer is required to have negligible difference from the actual answer, number of …

  7. What's difference between float, double and decimal in sql?

    Oct 8, 2023 · These data types are good for scientific measurements like temperature, where the difference between 39 degrees and 38.999999997 degrees won't make a significant difference, …

  8. difference between float and double data type - Stack Overflow

    May 21, 2021 · 1 There are two main differences in float and double. Those are size and precision. Float - 7 digits of precision (32 bit) and 4 bytes Ex:- 0.1234567 Double- 15 digits of precision (64 bit) and 8 …

  9. MySQL: What's the difference between float and double?

    Jan 29, 2010 · What difference does this show? Both FLOAT and DOUBLE can be specified with the non-standard and deprecated precision values. If you specify it for DOUBLE but not for FLOAT then …

  10. What's the difference between LONG float and double in C++?

    Promise. But, in C++, when calling scanf and printf, the notation used to specify a double is "%lf", and that stands for long float, right? So while a float is less precise than a double, a LONG float …