Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*arredondar números. arredonda para duas casas decimais o valor, exemplo:
- 15.594198498 iria ficar só 15.59, se fosse 15.5969 arredondaria para 15.60 */
- function arredondar ( $num ) {
- return round ( $num * 100 ) / 100;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement