-
really large variables
OK I dont really have a clue where to start, but i need to create variables to store numbers as large as 2^1024, which is beyond all the default ones in vb i think. Any help/ways round this problem would be much appreciated
Thanks and Happy New Year
Richard Thomson
-
You can try to store them as strings. You'll need to write your own routines for things like adding and dividing. That's the only solution I can think of now. It won't be efficient, but it's fun to make :)
-
I tested VB and it will handle a number equal to 2^1023.9 -
I just typed in the Immediate window ?2^1023.9# and it printed 1.67730700348574E+308
but you're right, it errors on 2^1024#