Have a look at a little gem from the codeAaaah ... that code
speaks to me.
What a pity that $numValue could not take on larger values .... (like up to 10 ** 5000000 :-)
And ++
reneeb ... for perspicacity above and beyond the call of duty !!
Cheers,
Rob