ROUND()

Rounds off a numeric expression.

Syntax

ROUND( <nNumber>,<nPlace> ) --> <nResult>

Arguments

<nNumber> Any numeric value.

<nPlace> The number of places to round to.

Returns

<nResult> The rounded number.

Description

This function rounds off the value of <nNumber> to the number of decimal places specified by <nPlace>. If the value of <nPlace> is a negative number, the function will attempt to round <nNumber> in whole numbers. Numbers from 5 through 9 will be rounded up, all others will be rounded down.
Examples
      ? ROUND(632512.62541,5)
      ? ROUND(845414111.91440,3)
Status

Ready

Compliance

This function is CA-Clipper compliant.

Platforms

All

Files

Library is rtl

See Also