From 7f600e94e3d2d1ff14e31c63879d6be4eebad53e Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 23 Apr 2015 22:35:06 -0400 Subject: [PATCH] more --- app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.rb b/app.rb index 39d7090..21e65f5 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 += sprintf('%.2f', value.to_f / number.to_f) + '' + symbol + '' + new_value = new_value + sprintf('%.2f', value.to_f / number.to_f) + '' + symbol + '' return new_value end end