Skip to content

mrosama/Convert-currency-to-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class.Currency DB Class Convert number to text: Format money amounts for Egypt and Saudi Arabia

Quick start

Clone the git repo - git clone git://github.com/mrosama/Convert-currency-to-word.git - or download it

Features

This class can be used to format money amounts for Egypt and Saudi Arabia. It can take a given amount in the currency of Egypt or Saudi Arabia and return its text representation.

  • Spell number into text in Egypt,Saudi Arabia currency system

Usage

require_once 'Class.Currency.php';

$Money=new Currency();

//convert to Egypt

echo $Money->Eg(3500);
echo "<br/>";
echo $Money->Eg(590.60);
echo "<hr/>";

//convert Saudi Arabia

echo $Money->Sa(3500);
echo "<br/>";
echo $Money->Sa(590.60);
echo "<hr/>";

Documentation

Take a look at the documentation table of contents. This documentation is bundled with the project, which makes it readily available for offline reading and provides a useful starting point for any documentation you want to write about your project.

About

php Class Currency

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published