I'll try to steer the ship a little - pretend I was asking about 456^789... A good solution works for any problem... can dispense with special triangles and magic numbers and all that.
dim x as double, m as double
dim e as integer
x=log(999)*999/log(10)
e=int(x)
m=10^(x-e)
print "999^999 = ";m;"e";e
Lol, that line probably applies tens of thousands of lines of code. Let alone the browser...Nonsense, that method wouldn't work on Linux.
I would have expected Luke to do something like this...