Commit 7a1b4121 authored by konovalovsergey's avatar konovalovsergey

fix bug 34549

parent 040ea926
...@@ -938,7 +938,8 @@ NumFormat.prototype = ...@@ -938,7 +938,8 @@ NumFormat.prototype =
res.bDigit = (number == number - 0); res.bDigit = (number == number - 0);
if(res.bDigit) if(res.bDigit)
{ {
res.fraction = number - Math.floor(number); var numberAbs = Math.abs(number);
res.fraction = numberAbs - Math.floor(numberAbs);
//Округляем //Округляем
var parts = getNumberParts(number); var parts = getNumberParts(number);
res.sign = parts.sign; res.sign = parts.sign;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment