The number whose ordinal you wish to get
A NumberOrdinal type value i.e. either 'st', 'nd', 'rd' or 'th'
Checks if a number is between a lower and upper bound similar to isNumberInRange
The value to check
The lower bound of the range
The upper bound of the range
Whether the range is inclusive i.e. 2,3,4,5 is in the inclusive range 2-5
whereas only 3 and 4 are in the same non-inclusive range. False by default
True if in range, false otherwise
Checks if a number is within a INumericRange
The value to check
The NumericRange to compare with
Whether the range is inclusive i.e. 2,3,4,5 is in the inclusive range 2-5
whereas only 3 and 4 are in the same non-inclusive range. False by default
True if in range, false otherwise
Generated using TypeDoc
Returns the ordinal of any positive number