2017 © Pedro Peláez
 

library taka-converter

Convert Taka amount to word or word to numeric

image

kalam/taka-converter

Convert Taka amount to word or word to numeric

  • Wednesday, February 8, 2017
  • by kausaralam
  • Repository
  • 1 Watchers
  • 3 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

taka-converter

Covert numeric taka to word., (*1)

Installation

composer require kalam/taka-converter dev-master

Example

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, (*2)

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
?>

The Versions

08/02 2017

dev-master

9999999-dev

Convert Taka amount to word or word to numeric

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

by Kausar Alam

taka taka conversion