bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CINT Function Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
CINT converts a numeric expression to an integer by rounding the
fractional part of the expression.
 
CINT(numeric-expression)
    ■ If numeric-expression is not between -32,768 and 32,767, inclusive,
      BASIC generates the run-time error message, "Overflow."
 
Usage Notes
    ■ CINT differs from the FIX and INT functions, which truncate, rather
      than round, the fractional part. See the example for the INT function
      for an illustration of the differences among these functions.