fix:修改小数位数为0 是的精度判断
This commit is contained in:
@@ -747,7 +747,7 @@
|
|||||||
if(chartDataFormat.Interval(maxValue,copies,unit.type,'min')<1&&dot<2){
|
if(chartDataFormat.Interval(maxValue,copies,unit.type,'min')<1&&dot<2){
|
||||||
dot=2;
|
dot=2;
|
||||||
}
|
}
|
||||||
if(dot===0&&flag){
|
if(flag || dot==0){
|
||||||
dot=1;
|
dot=1;
|
||||||
}
|
}
|
||||||
return unit.compute(value,index,-1,dot);
|
return unit.compute(value,index,-1,dot);
|
||||||
|
|||||||
Reference in New Issue
Block a user