PHP show money_format without currency text PHP show money_format without currency text php php

PHP show money_format without currency text


!

Seriously. that's the flag:

$money = money_format("%!n", $money);


// this if for Malaysia  , you can check according to your locality$number = new NumberFormatter($locale = 'ms_MS.utf8', NumberFormatter::DECIMAL);    echo $nmuber->format($amount)."\n"; ## 20,00,00,00,000// if this give error Class 'NumberFormatter' not found// for this  you can do  you can do aapt-get install php7.0-intl