Home >Backend Development >PHP Tutorial >金额数字的转换解决方法

金额数字的转换解决方法

WBOY
WBOYOriginal
2016-06-13 10:10:16820browse

金额数字的转换
比如11111元转变成1.1111(万元)要怎么弄啊number_format不行

------解决方案--------------------
需要用number_format吗?
直接echo 11111/10000;不就行了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn