J
juavizga
I need work wiht 30 decimals in a double, but when I try to store :
44*279^7+97*279^5+104*279^4+99*279^3+110*279^2+97*279+77
when a^b is Math.pow(a,b). Exemple 2^2 is 2*2=4
well if I execute this in the calc of windows I get 5.790211750705701434e18
-----
but when I execute in my program whit java the result that I get is:
5.7902117507057009e18
----
the result is not the same in java the result is rounded and I lose
precission can anybody or java guru help me, I need the wole precission.
THANKS
44*279^7+97*279^5+104*279^4+99*279^3+110*279^2+97*279+77
when a^b is Math.pow(a,b). Exemple 2^2 is 2*2=4
well if I execute this in the calc of windows I get 5.790211750705701434e18
-----
but when I execute in my program whit java the result that I get is:
5.7902117507057009e18
----
the result is not the same in java the result is rounded and I lose
precission can anybody or java guru help me, I need the wole precission.
THANKS