ref: fix money locale example

This commit is contained in:
chunmeng
2020-08-03 20:59:08 +08:00
parent 5d43949b09
commit 37ad8ab2bc
7 changed files with 7 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ Obviously, currency differs from region to region also. We can treat it the same
en["money"] ="USD %d"
cn["money"] ="¥%d元"
fmt.Println(date(msg(lang,"date_format"),100))
fmt.Println(money_format(msg(lang,"money"),100))
func money_format(fomat string, money int64) string{
return fmt.Sprintf(fomat, money)