+ 1

whats the difference between float and double?

22nd Jul 2016, 1:20 PM
Arjan Lankhaar
Arjan Lankhaar - avatar
2 Respostas
+ 3
Float - length 4 bytes - numbers until 10^38 - example 10.0f, 12.5f Double - length 8 bytes - numbers until 10^308 - example 10.0, 12.33
23rd Jul 2016, 2:41 AM
Felipe Carvalho
Felipe Carvalho - avatar
- 1
At first you are welcome to use an internet search engine for this problem. There is a bunch of easy to get information out there. The basics are written down on places like this: https://msdn.microsoft.com/en-us/library/1dhd7f2x.aspx For further questions or if you don't get it feel free to ask me again. Will See how I can help you.
22nd Jul 2016, 4:43 PM
Idril
Idril - avatar