kalam / taka-converter
Convert Taka amount to word or word to numeric
Installs: 93
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 3
Open Issues: 0
pkg:composer/kalam/taka-converter
Requires
- php: >=5.6
Requires (Dev)
- phpunit/phpunit: 4.0.*
This package is not auto-updated.
Last update: 2025-10-20 19:55:40 UTC
README
Covert numeric taka to word.
Installation
composer require kalam/taka-converter dev-master
Example
<?php
include('vendor/autoload.php');
echo (new Kalam\TakaConverter\TakaConverter(101))->convert();
// One Hundred One Only
echo (new Kalam\TakaConverter\TakaConverter(1000))->convert();
// One Thousand Only
echo (new Kalam\TakaConverter\TakaConverter(120350))->convert();
// One Lac Twenty Thousand Three Hundred Fifty Only
echo (new Kalam\TakaConverter\TakaConverter(12109530))->convert();
// One Crore Twenty One Lac Nine Thousand Five Hundred Thirty Only
echo (new Kalam\TakaConverter\TakaConverter(10021095.959))->convert();
// One Crore Twenty One Thousand Ninety Five And Ninety Six Poisa Only
?>
Or
<?php
include('vendor/autoload.php');
echo (new Kalam\TakaConverter\WordConverter(101))->convert();
// One Hundred One Only
echo (new Kalam\TakaConverter\WordConverter(1000))->convert();
// One Thousand Only
echo (new Kalam\TakaConverter\WordConverter(120350))->convert();
// One Lac Twenty Thousand Three Hundred Fifty Only
echo (new Kalam\TakaConverter\WordConverter(12109530))->convert();
// One Crore Twenty One Lac Nine Thousand Five Hundred Thirty Only
echo (new Kalam\TakaConverter\WordConverter(10021095.959))->convert();
// One Crore Twenty One Thousand Ninety Five And Ninety Six Poisa Only
?>