Skip to content

This library allows you to convert a money to Azerbaijani words.

License

Notifications You must be signed in to change notification settings

Maharramoff/money-to-azerbaijani-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP money to Azerbaijani words converter

This library allows you to convert a money to Azerbaijani words.

Installation

Add package to your composer.json

{
    "require": {
        "maharramoff/money-to-azerbaijani-words": "^v1.0.2"
    }
}

Usage

use MoneyToAz\MoneyToAz;

$convert = new MoneyToAz();

echo $convert->convertToWords(546983.98, 'AZN'); //beş yüz qırx altı min doqquz yüz səksən üç manat, doxsan səkkiz qəpik
echo $convert->convertToWords(569832, 'AZN'); // beş yüz altmış doqquz min səkkiz yüz otuz iki manat
echo $convert->convertToWords(999000, 'RUB'); // doqquz yüz doxsan doqquz min rubl
echo $convert->convertToWords(100000008.08, 'AZN'); // yüz milyon səkkiz manat, səkkiz qəpik
echo $convert->convertToWords(111111111111.11, 'USD'); // yüz on bir milyard yüz on bir milyon yüz on bir min yüz on bir dollar, on bir sent

About

This library allows you to convert a money to Azerbaijani words.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages