question about math module notation

Stargaming stargaming at gmail.com
Thu Jul 26 22:19:17 CEST 2007


On Thu, 26 Jul 2007 15:54:11 -0400, brad wrote:

> How does one make the math module spit out actual values without using
> engineer or scientific notation?
> 
> I get this from <code>print math.pow(2,64)</code>: 1.84467440737e+19
> 
> I want this:
> 18,446,744,073,709,551,616
> 
> I'm lazy... I don't want to convert it manually :)

Explicitly converting it to `int` works for me. (Without the 3-digit-
block notation, of course.)



More information about the Python-list mailing list