Krupkina Lesya Olegovna wrote: > Python outputs decimal as declared as but with more significant digits > than default value of 6 - if integer part of the decimal is equal to zero. >>>> "%#g"%0.3 > '0.300000'
In this context "significant digits" are the first non-zero digit and any digits (including zero) that follow it. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor