![]() |
weirdness between windows and linux
a m8 of mine was reading thru the python tutorial and while he was trying out some float numbers formatting, he came to a weird result (note: he is using windowsXP):
Code:
>>> print '%0.50f' % (22.0/7.0)Code:
>>> print '%0.50f' % (22.0/7.0) |
cos windowze sucks....
|
http://www.cprogramming.com/tutorial...sentation.html
Read that, and you'll have either an understanding or a better idea; if the latter, and you're still interested, do some more research. |
| All times are GMT +1. The time now is 07:59 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.