Learn

ordinal

Turn that number into a position.

Takes a number and returns it with the proper ordinal suffix (e.g. “th”, “st”, “nd”, etc).

Sample Usage

{{ place|ordinal }}

If {{ place }} is 73, this will output 73rd.

Parameters

This modifier has no parameters.

This article was last updated on March 30th, 2016. Find an error? Please let us know!