Class.Currency DB Class Convert number to text: Format money amounts for Egypt and Saudi Arabia
Clone the git repo - git clone git://github.com/mrosama/Convert-currency-to-word.git
-
or download it
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
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/>";
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.