Bold the symbol

This commit is contained in:
Andrew Tomaka 2015-04-23 14:53:39 -04:00
parent dacc283e15
commit a01cd54e6a

2
app.rb
View file

@ -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).round(2).to_s + symbol
return (value.to_f / number.to_f).round(2).to_s + '<strong>' + symbol + '</strong>'
end
end