Brian Dunning's FileMaker Custom Functions

Dec2HexNoLeading0s ( theNumber )

Convert Decimal # to Hex Text with no leading zeros

  Average rating: 3.9 (33 votes) Log in to vote

Samuel Herschbein   Samuel Herschbein - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
Dec2HexNoLeading0s ( 35243 )
  Sample output:

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

This function can stand alone, it returns as many digits as required to express the # in hex. My other function, Dec2Hex, specifies how many leading zeros (more useful to see RGB colors in web format.



John Segers   John Segers
Dec 4, 2009
What are the function parameters for this script? When I paste the script into the "Custom Function Window" it says to specify function paramenters.

Log in to post comments.


Note: these functions are not guaranteed or supported by 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 16 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: