Le 17/04/2020 à 13:40, Aakash Jana a écrit :

I am running python 3.8 only but my issue is I need more zeroes after my
result.
I want 2/5 = 0.400000
But I am only getting 0.4

f"{2/5:.6f}"
'0.400000'

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to