film/base/util/util.go

8 lines
114 B
Go
Raw Normal View History

2023-04-08 20:33:48 +08:00
package util
2023-04-09 02:11:58 +08:00
import "fmt"
func MoneyFen(money int64) string {
return fmt.Sprintf("%.2f", float64(money)/100)
}