mucts/money
Composer 安装命令:
composer require mucts/money
包简介
Numeric amount case conversion
README 文档
README
Money
Numeric amount case conversion.
Installation
Server Requirements
you will need to make sure your server meets the following requirements:
php ^7.2GMP PHP ExtensionBCMath PHP ExtensionMBString PHP Extensionmucts/helpers >=0.1.7
composer require mucts/money
Usage
- Arabic numeral amount into Chinese capital
<?php $amount = '¥987654321.01'; // $amount = -12344555.67; $amountCn = amount_to_cn($amount);
- Convert the amount in Chinese capital into Arabic numerals
<?php $amount = amount_to_digit($amountCn);
License
MIT
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-18