Mar-05-2022, 09:45 PM
I am confused about string formatting.
If I have a number 14.20003 I want to make it into a string s = 14.20
Do I use the "f" format or the "%" format?
what is the best way for the above example.
If I have a number 14.20003 I want to make it into a string s = 14.20
Do I use the "f" format or the "%" format?
what is the best way for the above example.