Brian Dunning's FileMaker Custom Functions

NumberSuffix ( var )

Adds proper superscripted suffix to an integer (ie, 1st, 2nd, 3rd, 4th)

  Average rating: 4.7 (29 votes) Log in to vote

John Knight   John Knight
dB SPL
http://www.filemaker.com

Share on Facebook Share on Twitter

  Sample input:
NumberSuffix ( 12 )
  Sample output:
12th

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

Adds proper suffix to number.
Accounts for 11, 12 & 13.
Makes suffix superscript, if possible (doesn't apply to tooltips, still adds the suffix, it's just not superscript)

 

Comments

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.

Under construction. Email me your wish list for improvements.