BigFloat.floor

Returns the greatest integer less than or equal to the BigFloat value.

Syntax

BigFloat.floor(value)

Parameters

Return value

A new BigFloat.

Examples

BigFloat.floor(10.2)
10
BigFloat.floor(10.9)
10

See also