Download the PHP package nihar/num2word-bd without Composer
On this page you can find all versions of the php package nihar/num2word-bd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package num2word-bd
About Num2word-BD
NUM2WORD-BD is a library for number conversion from number to word according to Bangladeshi numeric system
Requirements
- PHP 8.0 and above.
Installation
For running this example, you need to install num2word-bd
library before. It can be done by two different methods:
1. Using Composer
You can install the library via Composer.
Please see configuration section below for configuring.
Usage
To convert a number to words, follow these steps:
Available Methods
- format($number): Converts the provided number into its word representation.
- currency($sign): Set the currency sign for the whole number part.
- fractionCurrency($sign): Set the currency sign for the fractional part.
- joinSign($sign): Set the sign to join the whole and fractional parts.
Contributing
Contributions are welcome! Here's how you can contribute to this project:
- Fork the repository
- Create your feature branch (git checkout -b feature/YourFeature)
- Commit your changes (git commit -m 'Add some feature')
- Push to the branch (git push origin feature/YourFeature)
- Open a pull request
License
The MIT License (MIT): Please see the License File
All versions of num2word-bd with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package nihar/num2word-bd contains the following files
Loading the files please wait ....