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

金额数字的转换解决方法

WBOY
Release: 2016-06-13 10:10:16
Original
820 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template