Avoid #round(precision) in order to work on Ruby 1.8