Php function to format the number in Nepalese currency format

Find the source in Gist

Use is very simple

// calling
// if you need the number format in unicode format then call using
money_format_nep(“12121244”,true);
// if you dont need unicode characters then just pass false
money_format_nep(“12121244”,false);
 https://gist.github.com/rupakraj/2ff589c2cc3fc23c8ad3

Leave a Reply

Your email address will not be published. Required fields are marked *