0

What are the examples of characters that can be used in the double float type of value

C++

22nd Jan 2021, 2:03 AM
Homie
Homie - avatar
2 Respostas
+ 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.
22nd Jan 2021, 2:16 AM
Arsenic
Arsenic - avatar
+ 1
Thank you
27th Feb 2021, 2:28 AM
Homie
Homie - avatar