php Programming Glossary: stringtoreturn
PHP Money Format in Indian Currency? http://stackoverflow.com/questions/8550562/php-money-format-in-indian-currency substr num 0 3 formatted makeComma numexceptlastdigits stringtoreturn formatted. . last3digits. . . decimalpart elseif strlen num.. . last3digits. . . decimalpart elseif strlen num 3 stringtoreturn num. . . decimalpart elseif strlen num 12 stringtoreturn number_format.. 3 stringtoreturn num. . . decimalpart elseif strlen num 12 stringtoreturn number_format num 2 if substr stringtoreturn 0 2 stringtoreturn..
|