From 65c8c701f0f33f396c9dca652f9608f925f31b81 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sat, 25 Apr 2015 13:05:50 -0400 Subject: [PATCH] fix --- app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.rb b/app.rb index ba8b38f..7305ef0 100644 --- a/app.rb +++ b/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) + '' + symbol + '' + new_value = sprintf('%.2f', value.to_f / number.to_f) + '' + symbol + '' return new_value end end