diff --git a/src/_filter/math/short-fmt.js b/src/_filter/math/short-fmt.js index ac481df..076a5bb 100644 --- a/src/_filter/math/short-fmt.js +++ b/src/_filter/math/short-fmt.js @@ -14,7 +14,7 @@ angular.module('a8m.math.shortFmt', ['a8m.math']) if(isNumber(decimal) && isFinite(decimal) && decimal%1===0 && decimal >= 0 && isNumber(number) && isFinite(number)){ if(number < 1e3) { - return number; + return '' + number; // Coerce to string } else if(number < 1e6) { return convertToDecimal((number / 1e3), decimal, $math) + ' K'; } else if(number < 1e9){