Advertisement
yesamarcos

Number_format

Oct 4th, 2017
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.14 KB | None | 0 0
  1. function moedaW($input){
  2.  
  3.     $moeda = number_format($input, 2, '.', '');
  4.     $moeda = number_format($input, 2, '.', ',');
  5.     return $moeda;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement