Q&A > math > How do I round a number? - Answer contributed by ryanus
I would use Math::Round. It is easy to use. For example:
print nearest(.01, 1.555);
Frying pan on the stove
Results (359 votes). Check out past polls.