How do you round a float to 2 decimal places in JRuby? How do you round a float to 2 decimal places in JRuby? ruby ruby