suffixPlural ( theNumber )
Given any number, this function returns the letter "s" if the number is equal to 1, otherwise nothing is returned.
Average rating: 3.9 (31 votes) Log in to vote
Michael Richards - Show more from this author
itraining http://www.itraining.com.au |
suffixPlural ( 0 )
suffixPlural ( 0.5 )
suffixPlural ( 1 )
suffixPlural ( 2 )
s
s
s
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Consider using a quantity field in an invoicing situation. The invoice provides improved human readability if the units display the plural "s" where appropriate.
For example:
0 hours
1 hour
1.5 hours
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.