Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $valor3=number_format($valor, 3, ',', '.');
- <?php
- $valor = 4500;
- $valor3 = number_format($valor, 2, ',', '');
- echo $valor3;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement