fix:基础信息
This commit is contained in:
@@ -18,7 +18,7 @@ func CentitoDollar(price int64, remainFloatPoint ...uint) float64 {
|
||||
}
|
||||
|
||||
// 厘转美元
|
||||
func CentitoDollarStr(price int64) string {
|
||||
func CentitoDollarStr(price float64) string {
|
||||
s := "%.2f"
|
||||
return fmt.Sprintf(s, float64(price)/float64(1000))
|
||||
return fmt.Sprintf(s, price/float64(1000))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user