Format de numéro FString Python

num = 10.4999
print(f"The formatted number is {num:.2f}")
# output: The formatted number is 10.49
FaceToThePalm