fix
This commit is contained in:
parent
e78792d435
commit
65c8c701f0
1 changed files with 1 additions and 1 deletions
2
app.rb
2
app.rb
|
@ -77,7 +77,7 @@ def readable_number(value)
|
|||
numbers.each do |number, symbol|
|
||||
if value.to_f / number.to_f > 1
|
||||
#new_value = '-' if negative
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue