0

Why floats like.0 are important

We use floats like2.0,4.0 etc.

10th May 2019, 3:54 AM
Abrar Shahid
Abrar Shahid - avatar
1 Answer
+ 1
They are important because when dividing like 5.0/2 and 5/2, 5.0/2 returns 2.5, and 5/2 returns 2.
10th May 2019, 4:00 AM
Pikachu
Pikachu - avatar