I am having a very strange problem which I am unable to figure out.
I wanted all my data to be printed in decimals and not in exponential terms.
So I am using decimal module.
print "\n GENUINE ACCEPTANCE RATE :\t ", GA/Decimal(users)
Now I have set the precision to 9 and when I try to run in the shell it gives me the correct value but during execution of this program for GA=2 and users = 180,000,000 it still provides me exp answer.
And that too it gives me only for this value . Can anybody explain why this is happening.....
Thanks a lot...
I wanted all my data to be printed in decimals and not in exponential terms.
So I am using decimal module.
print "\n GENUINE ACCEPTANCE RATE :\t ", GA/Decimal(users)
Now I have set the precision to 9 and when I try to run in the shell it gives me the correct value but during execution of this program for GA=2 and users = 180,000,000 it still provides me exp answer.
And that too it gives me only for this value . Can anybody explain why this is happening.....
Thanks a lot...
Comment