film/base/util/util.go

8 lines
114 B
Go

package util
import "fmt"
func MoneyFen(money int64) string {
return fmt.Sprintf("%.2f", float64(money)/100)
}