Template helper ordinal

handlebars.numeral

Outputs a number as an ordinal

{{ordinal n}}

As a number

 {{ordinal n true}}
 {{ordinal n number=true}}
Source:
Parameters:
Name Type Attributes Default Description
0 number

Number

1 boolean <optional>

Output as number

number boolean <optional>
false

Output as number