Need help removing trailing zeros

PyNoob bandcamp57 at gmail.com
Wed Jun 26 18:21:10 EDT 2013


Sorry about that... And thanks for your help, but I don't quite understand. Would that make it off your example print("{:g}".format(1.0))?



More information about the Python-list mailing list