From d88933eed93274f492b9db980d5cf45eed6d3304 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Wed, 18 Mar 2015 16:26:14 +0700 Subject: [PATCH] Use correct minus sign in numbers --- app/js/format.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/format.js b/app/js/format.js index f611313..012b8c7 100644 --- a/app/js/format.js +++ b/app/js/format.js @@ -25,5 +25,5 @@ function formatNumber(num) { while (/(\d+)(\d{3})/.test(x1)) { x1 = x1.replace(/(\d+)(\d{3})/, '$1,$2'); } - return x1 + x2; + return (x1 + x2).replace('-', '−'); }