Konversi desimal menjadi mengapung di Python
# Method 1:
float_number = float (decimal_number)
# Method 2:
float_number = decimal_number * 1.0
Anxious Alligator
# Method 1:
float_number = float (decimal_number)
# Method 2:
float_number = decimal_number * 1.0
floatNum = float(intNum)