+ 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
3 Antworten
+ 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