-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
featureNew feature or requestNew feature or request
Description
| Name | About | Title | Labels | Assignees |
|---|---|---|---|---|
| Feature Request | Number formatting | Ordinal Generator | feature | @alyx |
Is your feature request related to a problem? Please describe.
As a plugin developer, I want to call a function to find the correct ordinal for an individual number in an ordered list - e.g. ordinal(3) -> 3rd or ordinal(3) -> 'rd' - so that I can easily ensure my ordered lists are grammatically correct without manually duplicating the logic calls for finding the correct value each time.
Describe the solution you'd like
A method, either on the existing NumberUtil, or as part of the new math module to perform this function.
Metadata
Metadata
Labels
featureNew feature or requestNew feature or request