Float | Description |
---|---|
If we want 5 to 6 decimal places then we use float | If we want 14 to 15 decimal places then we use double |
Size: 4 bytes | Size: 8 bytes |
Range: -3.4e38 to 3.4e38 | -1.7e308 to 1.7e308 |
float follows single precision | double follows double precision |