format(1.4000,'.2f') #to include zeroes while rounding to 2 decimals
answer = round(answer, 2)
f"{num:.1f}"
floatNumber = 2.13400
#Method 1: use f-strings
print(f"{floatNumber:.5f}") #Output: 2.13400 == '%.5f'%floatNumber
#Method 2: use round
print(round(floatNumber,5)) #Output: 2.134
import math
val = 3.14
math.floor(val) # rounds down --> 3
math.ceil(val) # rounds up val --> 4