can't get rid of 1e-5 while formatting in python 3 programming
I am creating a length calculator and need to format it so it doesn't show 1e-5 from going to mm to km. i have tried '{:.6}'.format() but doesn't seem to work as still outputs it as 1e-5.
Aucun commentaire:
Enregistrer un commentaire