fix
This commit is contained in:
parent
949feb431c
commit
f767af9a7f
|
@ -15,6 +15,6 @@ func CentitoDollar(price int64, remainFloatPoint ...uint) string {
|
|||
|
||||
// 厘转美元
|
||||
func CentitoDollarStr(price float64) string {
|
||||
s := "%.2f"
|
||||
s := "%0.2f"
|
||||
return fmt.Sprintf(s, price/float64(1000))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user