This commit is contained in:
Andrew Tomaka 2015-04-23 22:37:11 -04:00
parent 707bcd79b8
commit 73b82a2ad4

2
app.rb
View file

@ -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) + '<strong>' + symbol + '</strong>'
new_value = sprintf('%.2f', value.to_f / number.to_f) + '<strong>' + symbol + '</strong>'
return new_value
end
end