nahid940/number-to-words
Composer 安装命令:
composer require nahid940/number-to-words
包简介
Convert numbers into words
README 文档
README
Convert numbers into words easily.
Features
- Faster and light weight.
- Easy to use.
- Compatible with any php based projects.
Requirements
- PHP Version 5.5+
Easy Installation
- Run the command
composer require nahid940/number-to-words
- autoload file
require 'vendor/autoload.php'
Usage
- include the autoload file in your PHP file.
- Instantiate the object of the NumberToWords Class.
use NumberToWords\NumberToWords; $nnumber_to_words=new NumberToWords();
- Call the function
$nnumber_to_words->convertToWords(number,currency);
- Pass two parameters in the function
convertToWords(number,currency)
- First one is the number you want to convert and another is the currency name (BDT, RUPEE).
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-22