RomanNumberal_1to4K ( Parameter_number )
Returns a Roman Numeral up to 3,999
Average rating: 4.5 (29 votes) Log in to vote
Brad Lowry Brad Lowry Consulting http://www.bradlowryconsulting.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This allows you to take any poisitive integer value and return the equivelent Roman Numeral (up to 3,999).
For this submission Ichose to included validation error text, in actual use I might just leave the results empty when not valid, or alternately make it valid by truncating anything beyond 4000, truncating decimals and taking the absolute value of the input.
It is my understanding that 4000 and beyond require special characters so that was not attempted. I am pretty confident in my method, but not in my the exacting values for Roman Numeral results thus error reports would be welcomed.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.