Monday, January 22, 2007

Improve Netflix Connection Xbox

PHP Round number (decimal or integer) with

FAQ: How do I round off decimal numbers or integers in PHP?

Well, this is the most simple and easy:

round ($ number, N) : returns the number with N digits after the decimal point
Example: round (14.958383,3) -> 14,958

0 comments:

Post a Comment