Skip to main content

bdtdecimaltowordconverter is created for converting decimal to word in both bangla and english in BDT format

Project description

## [BDT Decimal to Word Converter](

## Prerequisites

* python 3x
* pip3

## Installation

**BEFORE YOU INSTALL:** please ensure the [prerequisites](#prerequisites)
pip install bdtdecimaltowordconverter

## Usage

### import DecimalToWord from bdtdecimaltowordconverter

from bdtdecimaltowordconverter.bdtdecimaltowordconverter import DecimalToWord


### make object of bdtdecimaltowordconverter

decimal_to_word = DecimalToWord()
### call the convertAmount() function with your value
decimal_to_word.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

## Contact with [Author](

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bdtdecimaltowordconverter, version 2.0.5
Filename, size File type Python version Upload date Hashes
Filename, size bdtdecimaltowordconverter-2.0.5-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bdtdecimaltowordconverter-2.0.5.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page