哪位php大神帮忙写个金币转换函数
大家讲道理
大家讲道理 2017-04-10 17:10:39
0
8
394

100铜币=1银 100银=1金

想写个根据多少铜币 返回相应等级的钱
比如参数为102135铜币 那就是返回10金21银35铜
比如参数为1544铜币 那就是返回15银44铜
以此类推...

php基础不扎实 不知道怎么写最精简

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(8)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!