Files
mir-godot/service/framework/utils/price.go

15 lines
330 B
Go
Raw Normal View History

2024-03-06 10:47:22 +08:00
/**
#*****************************************************************************
2024-08-06 18:30:21 +08:00
# @author MakerYang
# @site mir2.makeryang.com
2024-03-06 10:47:22 +08:00
#*****************************************************************************
*/
2024-03-03 22:59:18 +08:00
package Utils
import "fmt"
func PriceConvert(num int) string {
return fmt.Sprintf("%.2f", float64(num)/100)
}