mengapung ke int python
pi = 3.14159
print(int(pi))
#This finds the ceiling of the float value provided
Rick Astley
pi = 3.14159
print(int(pi))
#This finds the ceiling of the float value provided
# Method 1:
float_number = float (decimal_number)
# Method 2:
float_number = decimal_number * 1.0
floatNum = float(intNum)