BigFloat.round

Returns aBigFloat rounded to the nearest integer.

Syntax

BigFloat.round(value)

Parameters

Return value

A new BigFloat.

Examples

BigFloat.round(10.4)
10
BigFloat.floor(10.5)
11

See also