fix: Issues #246 done.
This commit is contained in:
@@ -583,6 +583,9 @@ export default {
|
||||
let x = index === 0 ? Math.floor(value * 100) / 100 :
|
||||
index === values.length - 1 ? value = Math.ceil(value * 100) / 100 :
|
||||
Math.round(value * 100) / 100;
|
||||
// 處理科學記號等格式轉換
|
||||
// Decimal 無法處理超過 16 位數
|
||||
x = new Intl.NumberFormat(undefined, {useGrouping: false}).format(x);
|
||||
return x
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user