Skip to content

Navigation Menu

Sign in
Sign up

Ordinal Generator #99

Open
Open
Assignees
Labels
featureNew 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    AltStyle によって変換されたページ (->オリジナル) /