Beginner: Trying to get REAL NUMBERS from %d command

Irmen de Jong irmen.NOSPAM at
Sun Dec 30 23:57:02 CET 2012

On 30-12-2012 23:37, Alvaro Lacerda wrote:
> I'm trying to get full number result using the %d command

Try %f instead. %d is the formatting symbol for integer numbers.

Or have a look at what string.format() can do:


More information about the Python-list mailing list