Can someone give me an in-depth explanation as to what are the differences between a float and a double?
I only know that a double is, well, bigger than a float.
Can someone give me an in-depth explanation as to what are the differences between a float and a double?
I only know that a double is, well, bigger than a float.
I don't know if there really is that much in depth.
A double gives you more accuracy, but in doing so, usually takes up 8 bytes v. a float taking up 4 bytes.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]