Is there any PHP function to convert an integer to Lakh and Crore?
integer
900800 -> 9,00,800 500800 -> 5,00,800
For most locales, use number_format: http://php.net/manual/en/function.number-format.php
number_format
For India (Lakh & Crore) use formatInIndianStyle provided in this comment: http://php.net/manual/en/function.number-format.php#40558
formatInIndianStyle