[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CINT                     Convert to Integer

 y = CINT(numexpr)

    Converts a numeric expression to an integer, by rounding.

     numexpr    A numeric expression in the range -32768 to 32767.

    --------------------------------------------------------------------------

      Notes:    Numbers with a fractional portion equal to .5 are always
                rounded to an even number.

                If numexpr is not in the range -32768 to 32767, runtime
                error 6 (Overflow) occurs.

See Also: CDBL CEIL CLNG CSNG FIX INT
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson