+ 2

How use float?

How do I use float at c++?

23rd Sep 2021, 4:08 PM
dan peled
dan peled - avatar
4 Antworten
+ 3
Give more information plz Float is a data type just like integers(int). They are used to store values with a decimal point in them (like 43.566). Consider using double instead of float. Float sometimes may lose your accuracy. Double is more accurate than float. In usage, it's just like using float
23rd Sep 2021, 4:14 PM
Rishi
Rishi - avatar
+ 1
That I already know.i wanted know how use it inside a code
24th Sep 2021, 6:21 AM
dan peled
dan peled - avatar
+ 1
Tnx
28th Sep 2021, 11:33 AM
dan peled
dan peled - avatar