Pre Merge pull request !266 from 风狗/N/A

pull/266/MERGE
风狗 2023-10-14 10:15:22 +00:00 committed by Gitee
commit a624ef8757
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 0 deletions

View File

@ -205,6 +205,9 @@ export const floatToFixed2 = (num: number | string | undefined): string => {
case 1: case 1:
str = f.toString() + '0' str = f.toString() + '0'
break break
case 2:
str = f.toString()
break
} }
return str return str
} }