diff --git a/app.rb b/app.rb index b6d5885..f569104 100644 --- a/app.rb +++ b/app.rb @@ -29,7 +29,7 @@ end def readable_number(value) numbers.each do |number, symbol| if value.to_f / number.to_f > 1 - return (value.to_f / number.to_f).to_s + symbol + return (value.to_f / number.to_f).round(2).to_s + symbol end end