diff --git a/app.rb b/app.rb index afa01d2..8f4b4db 100644 --- a/app.rb +++ b/app.rb @@ -74,7 +74,7 @@ def readable_number(value) numbers.each do |number, symbol| if value.to_f / number.to_f > 1 #new_value = '-' if negative - new_value = new_value + sprintf('%.2f', value.to_f / number.to_f) + '' + symbol + '' + new_value = sprintf('%.2f', value.to_f / number.to_f) + '' + symbol + '' return new_value end end