kytschBASIC

Put down that phone!
Please view me on real computer.

INT

Convert to an integer.

Example

PRINT INT(23.45)

LINE BREAK



REM You can still assign the standard attributes of the PRINT command.

PRINT INT(45.67), "basic"

LINE BREAK



DEF test$="12.34"

DEF int%=INT(test$)

PRINT int%

Output

23
45
12

See also