Initial commit
This commit is contained in:
7
server/framework/utils/price.go
Normal file
7
server/framework/utils/price.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package Utils
|
||||
|
||||
import "fmt"
|
||||
|
||||
func PriceConvert(num int) string {
|
||||
return fmt.Sprintf("%.2f", float64(num)/100)
|
||||
}
|
||||
Reference in New Issue
Block a user