From af704973cdc907e7b7c5ab4b1975de26ec21b059 Mon Sep 17 00:00:00 2001 From: Bojan Djuricic Date: Mon, 1 Apr 2013 17:16:07 +0200 Subject: [PATCH] issue #46 fix --- justgage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justgage.js b/justgage.js index 58218d0..b2a8db1 100644 --- a/justgage.js +++ b/justgage.js @@ -651,7 +651,7 @@ JustGage.prototype.refresh = function(val, max) { } else if( this.config.humanFriendly ) { displayVal = humanFriendlyNumber( displayVal, this.config.humanFriendlyDecimal ) + this.config.symbol; } else { - displayVal = displayVal.toFixed(this.config.decimals) + this.config.symbol; + displayVal = (displayVal * 1).toFixed(this.config.decimals) + this.config.symbol; } if(!this.config.counter) {