Brian Dunning's FileMaker Custom Functions

NumToEmoji

Converts short number fields to Emoji. Useful for counters on tabs.

  Average rating: 4.0 (1 vote) Log in to vote

Matt Navarre   Matt Navarre - Show more from this author
Navarre Training
https://navarre.training

Share on Facebook Share on Twitter

  Sample input:
NumToEmoji ( 7 )
  Sample output:
7️⃣

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

This is a simple substitute function that replaces numerals with their emoji equivalent. This is mainly useful for single digit numbers. I created it because I like to put the count of related records at the top of each tab, and wanted the number to stand out compared to just text.

If there were more than 10 related records, I don't care much about the count, so I just use a different emoji for that. Also, if the incoming number is negative or text, there are emoji for that. [emojis?]

Fun fact: Pretty much everything in FileMaker supports emoji, from labels to calculations to field names to script names... everything I've tried.

 

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.

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: