The function float reads the value of the argument, converts it to a floating-point and returns a floating-point value:
float
anInteger=2 aFloatingPoint=float(anInteger)