0
How can I round floats in c++?
I need help founding a way to round floats (float2int)
2 Respostas
+ 2
here is a float y rounded
https://code.sololearn.com/czUg7uEB64Nb/?ref=app
+ 1
Have a look here and hope it helps
https://www.geeksforgeeks.org/rounding-floating-point-number-two-decimal-places-c-c/