Hey all,
I'm working on a program where I calculate powers of two upto 60. I've made my own formula for calculating it which is: 10^([value of log 2 here]*y), where 'y' is any power as big as, say, 31. So here it is:
two=0.301029995664
final=math.pow(10,(two*n))-1
Now... as the value of 'y' gets bigger and bigger, the numbers are displayed as, for example: 2.19902325555e+12
How do I make the prog display the WHOLE number instead of e+12 and stuff?
Thanks a ton people...