Merge pull request #1147 from chunmeng/fix_money_locale_code
ref: fix money locale example
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user