相关疑难解决方法(0)

money_format()替代Windows平台上PHP中的函数

money_format()在PHP中使用该函数,它给出以下错误:

Fatal error: Call to undefined function money_format()
Run Code Online (Sandbox Code Playgroud)

搜索此错误表明money_format()仅在系统具有strfmon功能时才定义该功能.例如,Windows没有,因此money_format()在Windows中未定义.

是否有适用于Windows的等效PHP函数?

php windows money-format

33
推荐指数
5
解决办法
5万
查看次数

如何在PHP中以印度编号格式显示货币

我有关于格式化卢比货币(印度卢比 - 印度卢比)的问题.

例如,此处的数字表示为:

1
10
100
1,000
10,000
1,00,000
10,00,000
1,00,00,000
10,00,00,000
Run Code Online (Sandbox Code Playgroud)

参考印度编号系统

我必须用它做PHP.

我看到了这个问题以印度编号格式显示货币.但无法为PHP获取它我的问题.

更新:

如何使用印度货币格式的money_format()

php currency converter number-formatting money-format

26
推荐指数
6
解决办法
6万
查看次数