Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v3:int [2023/05/30 19:07] – [INT] neils | v3:int [2023/08/22 13:32] (current) – [FLOOR] neils | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | The '' | + | The '' |
+ | <adm note> | ||
+ | The function is equivalent to CBM BASIC' | ||
+ | </ | ||
===== Function header ===== | ===== Function header ===== | ||
- | DECLARE FUNCTION | + | DECLARE FUNCTION |
===== Example ===== | ===== Example ===== | ||
- | PRINT INT(3.14159) : REM outputs 3 | + | PRINT FLOOR(3.14159) : REM outputs 3 |
<adm note> | <adm note> | ||
To convert a floating point number to integer type, see [[v3: | To convert a floating point number to integer type, see [[v3: | ||
</ | </ |