How can I round float to nearest int? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How can I round float to nearest int?

float c=6.19; I need to get 7

1st Dec 2020, 12:13 PM
Bibek Pant
Bibek Pant - avatar
1 Réponse
+ 1
Martin Taylor thanks for references, I figured what I was doing wrong !
1st Dec 2020, 1:37 PM
Bibek Pant
Bibek Pant - avatar