Expressif is the variable substitution syntax combined with a library of predicates and functions. Initially designed for NBi.io, Expressif allows you to define variables, transformations of these variables (with expressions and functions), in plain text, which can then be interpreted by the engine. Same can be done with predicates.
Apache License 2.0
1
stars
0
forks
source link
Function to convert a positive integer to an ordinal text #137
The basic idea of the function
ordinal(culture)
is to convert1
to1st
,2
to2nd
,3
to3rd
,4
to4th
,11
to11th
...It should accept an optional parameter, the culture (i.e.
en-US
,fr-fr
, ...) by default it appliesen-GB
.More info on https://github.com/BenjaminVanRyseghem/numbro/tree/develop/languages