Categories
The FBI News Review

decimal value in python, how to make it ‘0.00’? – Stack Overflow

I have problem in generating or getting decimal value in python. for now, I am using float (), but it returns .0 not .00 … >>> d = 10 >>> float (d) 10.0 >>> how can I s…