Make digits with null behaves like null digits
issue5019 review19531002
This commit is contained in:
1 parent
0bef90bfd3
commit
2ba1b1acfc
1 file changed
+4
-2
+4
-2
@@ -1493,8 +1493,10 @@
|
||||
if (factor === undefined) {
|
||||
factor = 1;
|
||||
}
|
||||
var digits = record.expr_eval( this.description.digits);
|
||||
if (!digits) {
|
||||
var digits = record.expr_eval(this.description.digits);
|
||||
if (!digits || !digits.every(function(e) {
|
||||
return e !== null;
|
||||
})) {
|
||||
return;
|
||||
}
|
||||
var shift = Math.round(Math.log(Math.abs(factor)) / Math.LN10);
|
||||
|
||||
Reference in new issue
Block a user