## [BDT Decimal to Words Converter](https://pypi.org/project/bdtdecimaltowordconverter/)
## Prerequisites
* python 3x
* pip3
## Installation
**BEFORE YOU INSTALL:** please ensure the [prerequisites](#prerequisites)
```bash
pip install bdtdecimaltowordsconverter
```
## Usage
### import DecimalToWords from bdtdecimaltowordsconverter
```bash
from bdtdecimaltowordsconverter.bdtdecimaltowordsconverter import DecimalToWords
```
### make object of bdtdecimaltowordsconverter
```bash
decimal_to_words = DecimalToWords()
```
### call the convertAmount() function with your value
```bash
decimal_to_words.convertAmount(8.89, False, False, 'bng')
```
### parameters
##### (numericValue, is_ignorable_taka_if_zero, is_ignorable_paisa_if_zero, language)
* 1. number value that need to be converted. can be used interger or decimal
* 2. If you don't want to get zero value of taka, for an example you need to convert 0.23 and you want to skip/ignore zero in the return value then pass True otherwise False. If you pass False ( decimal_to_word.convertAmount(0.23, False, False, 'eng') ) then result will be 'zero taka and twenty three paisa only' and if you pass True ( decimal_to_word.convertAmount(0.23, True, False, 'eng') ) then result will be 'twenty three paisa only'
* 3. same as taka here is the value of paisa.
* 4. output language available languages
'bng' for bangla and 'eng' for english
### [Javascript Version](http://jsfiddle.net/mahfuzcmt/vxmta5ua/1/)
### [Number Converter](https://github.com/mahfuzcmt/numberconverter)
## Contact with [Author](https://www.fb.com/mahfuzcmt)
## Prerequisites
* python 3x
* pip3
## Installation
**BEFORE YOU INSTALL:** please ensure the [prerequisites](#prerequisites)
```bash
pip install bdtdecimaltowordsconverter
```
## Usage
### import DecimalToWords from bdtdecimaltowordsconverter
```bash
from bdtdecimaltowordsconverter.bdtdecimaltowordsconverter import DecimalToWords
```
### make object of bdtdecimaltowordsconverter
```bash
decimal_to_words = DecimalToWords()
```
### call the convertAmount() function with your value
```bash
decimal_to_words.convertAmount(8.89, False, False, 'bng')
```
### parameters
##### (numericValue, is_ignorable_taka_if_zero, is_ignorable_paisa_if_zero, language)
* 1. number value that need to be converted. can be used interger or decimal
* 2. If you don't want to get zero value of taka, for an example you need to convert 0.23 and you want to skip/ignore zero in the return value then pass True otherwise False. If you pass False ( decimal_to_word.convertAmount(0.23, False, False, 'eng') ) then result will be 'zero taka and twenty three paisa only' and if you pass True ( decimal_to_word.convertAmount(0.23, True, False, 'eng') ) then result will be 'twenty three paisa only'
* 3. same as taka here is the value of paisa.
* 4. output language available languages
'bng' for bangla and 'eng' for english
### [Javascript Version](http://jsfiddle.net/mahfuzcmt/vxmta5ua/1/)
### [Number Converter](https://github.com/mahfuzcmt/numberconverter)
## Contact with [Author](https://www.fb.com/mahfuzcmt)
Release files for bdtdecimaltowordsconverter 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bdtdecimaltowordsconverter-1.0.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bdtdecimaltowordsconverter-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / bdtdecimaltowordsconverter-1.0.0.tar.gz
| Download URL | bdtdecimaltowordsconverter-1.0.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf31ff814db2d344ed2b69f894fc790f47ca92b424e8ca08455372e2cafd9328
|
|
BLAKE2b-256 checksum How to use checksums |
00a25591cad61f57c683fee72532fedb3350bbff4cccf3e98b968364ad35a2b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / bdtdecimaltowordsconverter-1.0.0-py3-none-any.whl
| Download URL | bdtdecimaltowordsconverter-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67f5e36c66bb70250087b4ba5a11e3c2d0b4ad224be37f6c7fcfcfff70ef5e88
|
|
BLAKE2b-256 checksum How to use checksums |
cb301393b8e7289718427ac80c08b2613f6a1f7ea2c294adf7f6a6645272b5b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |