FLT (int-exp)

Converts INTEGER expressions into REAL numbers. The primary use of this function is to avoid MIXED MODE conflicts.

Program Example

00100 REM The FLT function
00110 A = 10
00120 PRINT FLT(10)
00130 PRINT FLT(A)
00140 LET A0 = FLT(A)
00150 PRINT A0
00160 END 

Try it

See also FRACT, INT.