Link to home
Start Free TrialLog in
Avatar of sam1234594
sam1234594

asked on

Large Number than Double in VB

Hello everyone,
I want to make a power function which operates on large numbers. Very Very large numbers.
Say a^b where
a=12345678910111213
b=100

I can take double & can work up to 11 digits or so, but I want it even more than that.
Can anyone suggest how I can work it out in VB 6.0.
Actually basically its an issue of datatype only. I want to have mechanism through which I can have larger datatype than the double.
ASKER CERTIFIED SOLUTION
Avatar of Dana Seaman
Dana Seaman
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just use the Currency data type. Goes up to over 922 trillion.
922,337,203,685,477.5807 to be exact...