Turns a decimal integer into a Base36 number ──────────────────────────────────────────────────────────────────────────────
Syntax
GT_DtoB36(<n> [,nLength]) --> <cB36Num>
Arguments:
<n> is a decimal integer
<nLength> is a MINIMUM length string to return. If passed, this will cause the return value to be padded with leading zero's to the length specified. If the string is longer than <nLength>, it is not truncated.
If omitted, the return value is 'trimmed'.
Returns:
<cB36Num> is a character string representing a Base36 number.
Description:
This turns a decimal number into a Base36 number, represented by a string. Large numbers can be stored in a very few bytes, so this is ideal for lookup table ID's, file offsets etc.