Free Newsletter Signup
Contact me | vCard
Brian on CNN
Brian on CBS Radio
Privacy Policy
FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.
Search | List | Show Random | Upload | Add This to Your Site
AnyBaseToDec(number; base)
Ferry, NCOI http://www.ncoi.nl
Converts any base to decimal (max 32 base)
If(IsEmpty(number); 0; Let([ conversion_table="0123456789ABCDEFGHIJKLMNOPQRSTUV"; power=Length(number)-1; dec_value=Position(conversion_table; Left(number;1); 1; 1) - 1; result=base^power * dec_value ]; result + AnyBaseToDec(Right(number; power); base) ) ) Then copy & paste into FileMaker Advanced's Edit Custom Function window.
Description:
Converts any base string/number back to a decimal base number.
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
digg this page | del.icio.us this page
Newest Custom Functions:
ToMarket
Become a successful software entrepreneur. Click here.
Custom Function Authors: Link to all of your own custom functions on this site with the following URL: http://www.briandunning.com/filemaker-custom-functions/results.php?author=Your Name Here
Sunday, August 13 2006, Orlando FL Courtyard Orlando International Drive