From 73b82a2ad46ed11f5c8b6cebd459a903ca91a66f Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 23 Apr 2015 22:37:11 -0400 Subject: [PATCH] ... --- app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.rb b/app.rb index afa01d2..8f4b4db 100644 --- a/app.rb +++ b/app.rb @@ -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) + '' + symbol + '' + new_value = sprintf('%.2f', value.to_f / number.to_f) + '' + symbol + '' return new_value end end