PHP Classes

Number to Text in Persian: Convert a numbers to text in Persian

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 113 This week: 1All time: 9,580 This week: 560Up
Version License PHP version Categories
num2textper 1.0.0GNU Free Document...5Localization, PHP 5, Text processing
Description 

Author

This package is specific mainly for applications used in Iran Iran .

This class can convert a numbers to text in Persian.

It can take a given number and returns a string that spells that numbers with words in Persian.

This class is based on the Num2TextEnglish class.

Picture of Keivan Sohrabloo
  Performance   Level  
Name: Keivan Sohrabloo <contact>
Classes: 2 packages by
Country: Iran Iran
Age: 34
All time rank: 426788 in Iran Iran
Week rank: 411 Up4 in Iran Iran Up

Example

<?php

require_once 'Num2TextPersian.php';
$objNum2TextPer = new Num2TextPer();

echo
$objNum2TextPer->convertNumber(1000.0011); // The output will be ?one thousand?



  Files folder image Files  
File Role Description
Accessible without login Plain text file Example.php Example Example File
Plain text file Num2TextPersian.php Class Class Source

 Version Control Unique User Downloads Download Rankings  
 0%
Total:113
This week:1
All time:9,580
This week:560Up