This commit is contained in:
Andrew Tomaka 2015-04-23 21:48:33 -04:00
parent e4840e57eb
commit 2ef96731a3

2
app.rb
View file

@ -69,7 +69,7 @@ end
def readable_number(value)
negative = false
negative = true if value =~ /\-/
#negative = true if value =~ /\-/
value.gsub!(/\-/, '')
numbers.each do |number, symbol|
if value.to_f / number.to_f > 1