Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. $valor3=number_format($valor, 3, ',', '.');
  2.  
  3. <?php
  4. $valor = 4500;
  5. $valor3 = number_format($valor, 2, ',', '');
  6. echo $valor3;
  7. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement