Shopping Cart

Search:

Signup

Contact

FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

# FileMaker Pro Custom Functions

DuoTrigesimalToNum ( DTGString )

Rate this function:

Discuss this Custom Function

Tim Griffith, None
None

Converts Duotrigesimal strings into numbers

Sample Input:
 DuoTrigesimalToNum ( SSST1VX )
Sample Output:
 27709474685

Then copy & paste into FileMaker Advanced's Edit Custom Function window.

## Description:

DuoTrigesimalToNum ( DTGString )

No dependencies

( to convert Duotrigesimal strings back to numbers use custom function NumToDuoTrigesimal ( number ) )

Created: December 26, 2010 St. Louis, MO USA

Tim Griffith Sr.

Duotrigesimal, or base 32 numbers are like Hexadecimal numbers in that after 9, numbers are represented by letters. We know we can't use all the letters of the alphabet because the index of numbers would go beyond 31 up to 35. As best I have discovered the letters 'I' 'L' and 'O' are not used because in various forms they can be mistaken for other characters. My research has also shown that the letter 'U' has been omited because of 'accidental obscenities'.
Throughout books and the internet there are numerous algorithms showing how to convert numbers to hex and hex to numbers. I am not a genius, but rather a bit clever enough to augment those formulas to add the additional letters beyong hex F, and substitute dividing or multplying 16 into 32. All in all it was quite simple.
If credit is due- then it is due to those many people who have provided hex to num formulas. Thank you all- you know who you are!

Note: If the duotrigesinal string you are converting contains the omitted letters [I,L,O,U] the error will be captured and an error message will appear instead of a result.

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it