Round

Returns the rounded value.

Variants

Round(Duration duration, Duration significance)

Returns the multiple of the significance which is nearest to the duration.

Parameters

duration
The value you want to round.
significance
The multiple to which you want to round.

Returns

Duration

Examples

Round(Numeric number)

Returns the nearest integer to the number. The fraction .5 rounds up to the next greater integer.

Parameters

number
The value you want to round.

Returns

Numeric

Examples

Round(Numeric number, Numeric significance)

Returns the multiple of significance which is nearest to the number.

Parameters

number
The value you want to round.
significance
The multiple to which you want to round.

Returns

Numeric

Examples

Round(Time time, Duration significance)

Returns the multiple of the significance which is nearest to the time.

Parameters

time
The value you want to round.
significance
The multiple to which you want to round.

Returns

Time

Examples