FLT

Top  Previous  Next

Syntax

DOUBLE = FLT(num as INT64)

Description

Converts an integer to a floating point number for convenience in calculations.

Parameters

num - Integer number to convert.

Return value

num converted to a floating point type.

Remarks

Supports integers up to 64 bits.

See Also: INT( )

Example usage

INT a,b
a = 1:b=2
PRINT a/FLT(b)
 
DO:UNTIL INKEY$ <> ""