PHP INT para Rupiah Indonésia
$number='9000000';
echo number_format($number, 0, '', '.');
Lonely Lizard
$number='9000000';
echo number_format($number, 0, '', '.');