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
2 odpowiedzi
+ 1
Martin Taylor thanks for references, I figured what I was doing wrong !
1st Dec 2020, 1:37 PM
Bibek Pant
Bibek Pant - avatar