manual for round | search for "round" | back to file handling | file informations
Manual © 2001-2010 The PHP Group
round
Description
float round ( float val [, int precision])Returns the rounded value of val to specified precision (number of digits after the decimal point). precision can also be negative or zero (default).
Note: PHP doesn't handle strings like "12,300.2" correctly by default. See converting from strings.
Note: The precision parameter is only available in PHP 4.
See also: ceil(), floor(), and number_format().
© 2010 phparadise | go to the top | search phparadise | generated in 0.026 seconds
45 hits by 17 users in the last 30 minutes.