I\'ve been trying to round long float numbers like:
32.268907563; 32.268907563; 31.2396694215; 33.6206896552; ...
With no success so far. I
For positives, try
int(x + 0.5)
To make it work for negatives too, try
int(x + (0.5 if x > 0 else -0.5))
int() works like a floor function and hence you can exploit this property. This is definitely the fastest way.
int()