Sunday, October 30, 2016

php function rupiah

function RP($n) {
    return number_format($n,0, ',', '.');
}


///test call
echo RP(1200000000000000);
?>

No comments: