Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Christ.

Name: Anonymous 2009-11-18 22:37

In Python, why the fuck does float(2/3) return 0.0?

Name: Anonymous 2009-11-18 23:47

>>4
I'm using 2.6. If you're subtly telling me to go to 3000, you should eat your hat.

I just got around it by adding 0.0000 to each

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List