Actually, its fairly easy to "cheat" at doing this.

Lets take the number 42. it s a 4 and a 2. Divide 4 by 2 you get 2. Then divide 2 by 2 and you get 1. Stick them together and you get you answer: 21

Let's try 456.

4/2 = 2
5/2 = 2.5
6/2 =3

200+25+3= 228 = 456/2

See where I'm going with this?

So basically, you have to divide the fist number by 2 and store it to a variable. IF it isn't even divide by to you'll have to add 5 to the next step. Divide the next number by 2 (add 5 if the previous on3 was odd) then apply that to the end of the variable. Continue doing this until you run out of digits.

As above... It'd end up being 2 $+ 2 $+ $calc(3+5)

The same can be done for subtraction, addition and multiplication. I'd write out the code, but I'm dead tired and on my way to bed. Perhaps later on today I'll get around to it. Though, hopefully this is enough pseudocode to make something work for you. In theory, you should be able to use mirc to divide HUGE numbers by at least 8 digits worth of numbers. With more tinkering, you should be able to divide a 900 digit number by another 900 digit number and get an exact answer.

Last edited by Thrull; 07/09/07 11:53 AM.

Yar