06-07-2005, 08:23 AM
Ok, basically i'm converting a hex value to an integer, and dividing by the ascii values of each character of my password multiplied together. However the hex values are extremely large when converted and i cant find a datatype that can handle them. Is 'Double' the largest datatype and if so are there any other ways i could go about this?
06-07-2005, 08:24 AM
Try the Currency data type. If your values are too big for that, then you will probably have to go into using structures that split the value into high/low or use strings.
06-07-2005, 08:29 AM
lol i feel stupid now, this has been bugging me for ages and as soon as someone gives me an answer, i figure out the problem!!
After closer inspection of the code, i noticed that Double is sufficient after all, i should have been resetting the double value at the end of each loop. It had just been building up until it errored.
Thanks for the help anyway and sorry to waste your time. :chuckle: