+ 1

Cual es la diferencia entre ceil y floor

En el redondeo de números

25th Oct 2017, 2:48 AM
Ivan Aroa
Ivan Aroa - avatar
2 Answers
+ 17
ceil gives the higher int value of the current float no ceil 3.5 will be 4 floor gives the lower int value of current float no floor of 3.5 will be 3
25th Oct 2017, 2:54 AM
Frost
Frost - avatar
+ 1
Thanks 👍☺️☺️
25th Oct 2017, 2:59 AM
Ivan Aroa
Ivan Aroa - avatar