0

What is this floating number??

2nd Jan 2018, 4:46 PM
subhadip khilari
subhadip khilari - avatar
2 ответов
2nd Jan 2018, 4:51 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 3
Definition: A small number with a floating decimal point. the maximum number of digits may be specified in the size parameter. the maximum number of digits to the right of the decimal point is specified in the d parameter. Precision: Floating precision number data from -1.97E + 308 To 1.97E + 308. The n parameter indicates wether the field should hold 4 or 8 bytes. float(24) holds a 4-byte field and float(53) hold an 8-byte field. default value of n is 53. In java: +Float datatype is a single-precision 32-bit IEEE 754 floating point. +Float is mainly used to save memory in large arrays of floating point numbers. +Default value is 0.0f +Float datatype is never used for precise values auch as currency. Example: float f1 = 234.51f
2nd Jan 2018, 5:08 PM
Mehdi
Mehdi - avatar