Commit 889334bc by 芋道源码 Committed by Gitee

!266 修复 floatToFixed2 函数某些情况下计算结果为零 Closes #I8671C

Merge pull request !266 from 风狗/N/A
parents fa71f852 aa5f27be
......@@ -205,6 +205,9 @@ export const floatToFixed2 = (num: number | string | undefined): string => {
case 1:
str = f.toString() + '0'
break
case 2:
str = f.toString()
break
}
return str
}
......
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 sign in to comment