Calculate up to two decimal places in Python -
this question has answer here:
- display float 2 decimal places in python 5 answers
i want calculate 2 decimal places in calculations can't
for example:
a = 93 b = 1 c = float(93/1) print c
i want print
:
93.00
but print :
93.0
is there function or there way this?
wiki
Comments
Post a Comment