February 2013
Intermediate to advanced
538 pages
20h 55m
English
round
float round(floatnumber[, intprecision[, intmode]])
Returns the integer value nearest to
number at the
precision number of decimal places. The
default for precision is 0 (integer
rounding). The mode parameter dictates the
method of rounding used:
| Round up |
| Round down |
| Round up if the significant digits are even |
| Round down if the significant digits are odd |
Read now
Unlock full access