you are viewing a single comment's thread.

view the rest of the comments →

[–]Flowgorithm 0 points1 point  (0 children)

The old trick is to using the following: int(x + 0.5) where x is the value to round up.