diff --git a/app.rb b/app.rb index 775a817..a02a577 100644 --- a/app.rb +++ b/app.rb @@ -69,8 +69,8 @@ end def readable_number(value) negative = false - negative = true if value =~ /\-/ - value.gsub!(/-/, '') + #negative = true if value =~ /\-/ + #value.gsub!(/-/, '') numbers.each do |number, symbol| if value.to_f / number.to_f > 1 return sprintf('%.2f', value.to_f / number.to_f) + '' + symbol + ''