Brian Dunning's FileMaker Custom Functions

BaseX_ToDecimal ( baseString ; decimalNumber )

Convert a some base to decimal number.

  Average rating: 3.7 (3 votes) Log in to vote

Erik Shagdar   Erik Shagdar - Show more from this author
NYHTC

Share on Facebook Share on Twitter

  Sample input:
BaseX_ToDecimal ( "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; "HELLO" )
  Sample output:
29234652

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Once a number is convert from decimal to some other base, this function can convert it back.

 

Comments

Tazz Richards   Tazz Richards, San Francisco
Apr 17, 2018
I could only get this to return a 0 or -1.
 
Erik   Erik, NYC
Apr 18, 2018
Hey Tazz, what were the params you used?
 

Log in to post comments.

 

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

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: