note
LanX
I'm confused, this sounds like if you just need to calculate modulo 26 to be able to transform 27 to AA.<P>
Am I missing something? <P>
<H5> edit</H5><P>
Something like this?
<c>
while ($n) {
$i = $n % 26;
unshift @vector, $i;
$n -= $i;
$n /= 26;
}
print map { chr(64+$_) } @vector;
</c><P>
Untested! <P>
<div class="pmsig"><div class="pmsig-708738">
<p>Cheers Rolf<br>
<sub>(addicted to the Perl Programming Language and [http://i.dailymail.co.uk/i/pix/2014/07/14/article-2690897-1F9F6C0E00000578-463_964x629.jpg|☆☆☆☆] :)
<br> <i>[http://s3.freebeacon.com/up/2015/01/charliehebdo-540x342.png|Je suis Charlie]!</i>
</sub> <P>
</div></div><!-- Wiki2Monks {"version":1.1416} -->
1199244
1199244