[This is preliminary documentation and is subject to change.]
Parses a text version of an ordinal number to give that number.
Only text ordinals from first to ninetyninth are parsed
Parameters
- ordinal (String)
- The text of the ordinal to parse, for example 'first', 'second', 'twenty-fifth', 'ninety-ninth'. Hyphens may be used or omitted, so 'twenty-fourth' is equivalent to 'twentyfourth'.
Return Value
The number parsed, or zero if parsing failed