CINT¶
Syntax¶
Versions: Extended, Disk
Description¶
Converts X to an integer by rounding the fractional portion. If X is not in the range -32768 to 32767, an "Overflow" error occurs.
Example¶
Notes¶
CINT rounds to the nearest integer (.5 rounds up). If you need truncation instead of rounding, use FIX or INT.