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: 114 This week: 1All time: 9,578 This week: 69Up
Version License PHP version Categories
num2textper 1.0.0GNU Free Document...5Localization, PHP 5, Text processing


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: 426988 in Iran Iran
Week rank: 78 Up3 in Iran Iran Up



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

$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  
This week:1
All time:9,578
This week:69Up