QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

The CLNG function rounds decimal point numbers up or down to the nearest LONG integer value.

Syntax

value& = CLNG(expression)

Parameter(s)

Description

Example(s)


a& = CLNG(2345678.51)
PRINT


 2345679 

See Also