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.
CLNG Function Details
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
─────────────────────────────────────────────────────────────────────────────
CLNG converts a numeric expression to a long (4-byte) integer by rounding
the fractional part of the expression.
CLNG(numeric-expression)
■ If numeric-expression is not between -2,147,483,648 and
2,147,483,647, inclusive, BASIC generates the error message,
"Overflow."