Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

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)
      

Status

      Ready

 Compliance

      This function is CA-Clipper compliant.

 Platforms

      All

 Files

      Library is rtl



See Also: ROUND() STRZERO()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson