Posts

Showing posts with the label indian currency format

How to Convert Number (amount) to Words (indian format) using php

For convert number or amount to indian word format copy and paste below code into your php file and call convertNumber function.. For example convertNumber(1000); function convertNumber($number,$prefix='',$suffix='', $uppercase = false)     {         $number = number_format($number,2);         list($num, $dec) = explode(".", $number);         $output = "";         if($num{0} == "-")         {             $output = "negative ";             $num = ltrim($num, "-");         }         else if($num{0} == "+")         {             $output = "positive ";           ...