0

What is a Float and a Double?

12th Dec 2016, 2:32 PM
Umang Majumder
Umang Majumder - avatar
2 Respostas
+ 1
A float is a data type. A float is divided into 3: 1. float // 4 bytes long 2. double // 8 bytes long 3. long float // 10 bytes long In sequence succession 1 2 3 each has increased capability of storing more numbers.
12th Dec 2016, 3:31 PM
JENN
JENN - avatar
0
float and double are data types like int. they can store decimal values. they have a range bigger than int data type.
12th Dec 2016, 2:48 PM
Samyak jain