Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages

Shopping Cart
Shopping Cart


Free Newsletter


Privacy Policy

FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.


 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

PercentDisplay (Number)

Rate this function:  

  Average rating: 4.5  (28 votes)
  Discuss this Custom Function

Todd Dignan, Dignan Consulting

Percent Formatting Display

Sample Input:
PercentDisplay (50)
Sample Output:

 Then copy & paste into FileMaker Advanced's Edit Custom Function window.


This takes a whole number, 100 or less and converts the them in to a decimal. Any number over a 100 makes it a 100 percent.

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

This is my Custom Function and I want to edit it


I am new to this and need help. I have FMP 13 Advanced. Do I just paste this code into the Custom Function dialog?

I did that. I named the function "PercentageTrunc" and then pasted the above code into the calculation edit box. The result was "number" being greyed out and an error message came up saying "The specified parameter cannot be found."

Mark, Noblesville, IN
August 14, 2014 12:57pm

You do need to create this custom Function in the pulldown menu, File/Manage/Custom Functions..... Click the new button, Copy and paste the content into the custom function body. Give it the name of PercentDisplay, then give it the parameter of Number. Click ok to save the custom function. Then click ok to get out of the custom function manage window.

Goto to your calc, In top right "View" select custom functions. Double click on the function to add it to your calc. Then replace the word "Number" with a field or other calc that has a result as a number. Make sure your calc does have a result of number in the bottom left hand corner.

I hope this helps.

Todd Dignan

Todd Dignan, Los Osos, CA
August 14, 2014 1:12pm

Thanks Todd- it worked until I went into Browse Mode to enter a value to test it.

Error message says: "This action cannot be performed because this field is not modifiable."

Is that solution in the Inspector (as with Find Mode or Browse mode behavior?)

Mark, Noblesville, IN
August 15, 2014 5:20am

OK, You can NOT enter data into a calculation. You need to enter the value into another field and then reference that filed in the calculation with the custom function.

This should help.

Todd Dignan, Los Osos, CA
August 15, 2014 10:05am

OR, you can use it in an auto enter calc and then you reference the function "self" in the custom function.

Todd Dignan, Los Osos, CA
August 15, 2014 10:15am

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 2 + 5 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. HexUUIDToNum_cf (_uuid)
  (Sat, Jun 16, 1:55pm)
2. httpResponseCode ( responseHeaders )
  (Tue, Jun 12, 10:40pm)
3. FindDuplicateCharacters ( string )
  (Fri, Jun 08, 5:01pm)
4. FieldRepetitionLast ( field ; maxRepetition )
  (Wed, Jun 06, 6:05pm)
5. CountModifiedRecords ( NameTimestampField ; StartTimestamp ; EndTimestamp )
  (Mon, May 28, 8:23am)
6. JSONArrayLength ( JSONArrayStr )
  (Fri, May 25, 7:46am)
7. interpolation (y1; y2; y3; x1; x2; x3; x1y1; x2y1; x1y2; x2y2; rnd)
  (Sat, May 19, 3:55am)
8. @JSONFormatElements ( json )
  (Tue, May 15, 3:31am)

RSS Feed of Custom Functions