On 14 June 2013 09:40, eryksun <eryk...@gmail.com> wrote: > > or with built-in format(): > > >>> format(Decimal(1).exp(), '.27f') > '2.718281828459045235360287471' >
I didn't know .format() also had a builtin. Are there many methods that are dual like that? On the one hand, it's more memorizing, but on the other it might be a simpler syntax. My little finger has trouble finding the : key. All those odd characters are hard to find - they didn't design keyboards for programming. Maybe someday. Now you're going to tell me there's a programmer's keyboard ;') -- Jim A noun is just a verb with the hiccups
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor