+ 1
What is the functioning of float?
I don't Understand how and where to use it.
5 Respostas
+ 2
it is a data type that exists in a many programming languages that allows store decimal numbers
+ 1
i wanna try it again thank u for ur answers
+ 1
Nowadays most compilers use double as their standard floating point data type. It works the same, but has more precision than float.
If you don't know exactly what you're doing - and believe me, almost nobody does - you should also use double instead of float.
Otherwise you could cause bugs due to the constant conversions between float and double by the compiler.
0
ok