0
What are the examples of characters that can be used in the double float type of value
C++
2 Réponses
+ 8
Float data type can store any real number.
For example
3.14
2.00
1.332424
Double on the other hand is also used to store the real numbers but with higher precision ( double precision to be precise ), but it comes with a caveat of consuming more space thus should only be used when you really want double precision in your values. Otherwise float should get the job done for you.
+ 1
Thank you