Ratio: 0 / 5

Inicio desactivadoInicio desactivadoInicio desactivadoInicio desactivadoInicio desactivado
 

Int()

Return the integer port of a numeric value.
Syntax
Int( <nNumber> ) --> <nIntNumber>
Argument(s)
<nNumber> Any numeric value.
Returns
<nIntNumber> The integer portion of the numeric value.
Description
This function converts a numeric expression to an integer. All decimal digits are truncated. This function does not round a value upward or downward; it merely truncates a number at the decimal point.
Example(s)
SET DECIMAL TO 5
? Int( 632512.62541 )
? Int( 845414111.91440 )
Status
Ready
Compliance
This is CA-Cl*pper v5.2 compliant
Platform(s)
This is available on all platforms
File(s)
Library is core
See also

Round(), StrZero()