How to find out nearest whole number of a double variable? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 3

How to find out nearest whole number of a double variable?

How can I find the nearest whole number (integer) of a given double value? As like, double int 6.3 6 8.99 9

15th Jul 2020, 3:05 PM
Tawhidul Islam Fahim
Tawhidul Islam Fahim - avatar
2 Respuestas
+ 2
15th Jul 2020, 3:24 PM
Tawhidul Islam Fahim
Tawhidul Islam Fahim - avatar
15th Jul 2020, 4:04 PM
Bilbo Baggins
Bilbo Baggins - avatar