[Home]
blog.andrewhuey.com: base 36 conversion

Thursday, May 08, 2014

base 36 conversion

I haven't posted any code on here in a while, so here's a quick little bit of code that might be useful to somebody.
I had to write some code this week to do conversion from base 10 to base 36 and back, in Dynamics AX. So I just took some simple code from the Wikipedia article on base 36 and converted it to X++. Nothing fancy. The code below is all in a job, but I'll probably put it in a utility class when I actually implement it.

Labels: Dynamics AX, programming