Source Code:
(back to article)
x = 3.14159265 y = format(x, '.2f') print(y)
Result:
Report an issue