AutoPct ( myValue )
Simplifies data entry of percentage values
Average rating: 4.0 (4 votes) Log in to vote
Edward L. Scott - Show more from this author
Scott Resources https://scott-resources.com |
AutoPct ( 10 ) or ( -10 )
AutoPct ( 99 )
AutoPct ( 100 )
--
AutoPct ( .999 ) or ( -.999 )
10% or -10%
99%
100%
--
99.9% or -99.9%
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
For a user-entered number field formatted in the user interface as a percentage, set the field to auto-calc to "AutoPct ( myValue )" while turning OFF the option to "Do not replace existing value in field (if any)".
Now users may avoid doing math in their head and simply type in "50" to enter 50% in the field, "100" to enter 100%, or "2.5" to enter 2.5%.
Users who cannot break the habit of typing in ".5" for 50% are not affected.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.