fix
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
|
||||
// 数字变成带千分位的字符串
|
||||
func NumToStringWithThousandthPercentile(numberStr string) string {
|
||||
numberStr = strings.TrimLeft(numberStr, "0") //去掉左边开始的0
|
||||
if _, err := strconv.ParseFloat(numberStr, 64); err != nil {
|
||||
logx.Error("is not a number")
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user