I\'m getting numbers like
2.36363636363636 4.567563 1.234566465448465 10.5857447736
How would I get Ruby to round these numbers up (or dow
It’s possible to round numbers with String class’s % method.
String
%
For example
"%.2f" % 5.555555555
would give "5.56" as result (a string).
"5.56"