formatted_float = "{:.2f}".format(a_float)
float = 45,0748 newFloat = round(float, 2)
import math radius = 5 area = math.pi * radius * radius print("Area = %.2f" % area)