Skip to main content

round

Discworld driver help

round

Name

round() - round a float to the nearest integer

Synopsis

float round( float f );

Description

Returns (as a float) the nearest integer number of `f'.

See also

ceil(), floor(), to_int(), to_float()