INT()
Return the integer port of a numeric value.
Syntax
INT( <nNumber> ) --> <nIntNumber>
Arguments
<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.
Examples
SET DECIMAL TO 5 ? INT( 632512.62541 ) ? INT( 845414111.91440 )
Compliance
Clipper
Platforms
All
Files
Library is rtl
Seealso
ROUND(), STRZERO()
Pingback: Harbour All Functions – I | Viva Clipper !
Pingback: Harbour Math Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !