Syntax, examples (1)

The function float reads the value of the argument, converts it to a floating-point and returns a floating-point value:

anInteger=2
aFloatingPoint=float(anInteger)