Advertisement
Iyanyan

uang.php

Oct 25th, 2019
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2. function rupiah($angka){
  3.    
  4.     $hasil_rupiah = "Rp " . number_format($angka,2,',','.');
  5.     return $hasil_rupiah;
  6.  
  7. }
  8.  
  9. echo rupiah(2800000);
  10. ?>
  11. <h1>CODEKU</h1>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement