Use correct minus sign in numbers
This commit is contained in:
parent
52d2054a68
commit
d88933eed9
|
@ -25,5 +25,5 @@ function formatNumber(num) {
|
||||||
while (/(\d+)(\d{3})/.test(x1)) {
|
while (/(\d+)(\d{3})/.test(x1)) {
|
||||||
x1 = x1.replace(/(\d+)(\d{3})/, '$1,$2');
|
x1 = x1.replace(/(\d+)(\d{3})/, '$1,$2');
|
||||||
}
|
}
|
||||||
return x1 + x2;
|
return (x1 + x2).replace('-', '−');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue