Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What's the difference between single precision and long integer?
What's the difference between single precision and long integer?
Single precision means that 7 significant digits are reserved, accounting for 4 bytes or 16 binary digits.

Long integer represents a 4-byte integer;

I think the advantage of using decimal point is accuracy. Division is inevitable when programming, such as 1/2. If it is an integer, it will get zero.