what is float number? and what is different between float number and double number? Tnx | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is float number? and what is different between float number and double number? Tnx

11th Oct 2016, 8:47 AM
samooel Hwang
samooel Hwang - avatar
2 Answers
+ 4
Float and double are for decimal numbers. A double has double the precision of a float.
11th Oct 2016, 9:23 AM
Zen
Zen - avatar
+ 1
float have a 4bytes of precision while double 8bytes of precision
11th Oct 2016, 11:02 AM
Jamaltheen S
Jamaltheen S - avatar