S
swapna.munukoti
Hi all,
I am new to c#.
I am facing a problem with exponential or scientific notification.
When I use math.pow() funciton, if the numbers are big, it returns me
in exponential format.
And when I do any arthimatic operations on that, it gives me wrong
results.
For example:
?System.Math.Pow(2,60)
1.152921504606847E+18
?System.Math.Pow(2,60)-1
1.152921504606847E+18
How can I solve this problem?
And is there a way to supress exponential notation?
Thanks in advance,
Swapna.
I am new to c#.
I am facing a problem with exponential or scientific notification.
When I use math.pow() funciton, if the numbers are big, it returns me
in exponential format.
And when I do any arthimatic operations on that, it gives me wrong
results.
For example:
?System.Math.Pow(2,60)
1.152921504606847E+18
?System.Math.Pow(2,60)-1
1.152921504606847E+18
How can I solve this problem?
And is there a way to supress exponential notation?
Thanks in advance,
Swapna.