getOrdinalSuffixedValue
getOrdinalSuffixedValue
getOrdinalSuffixedValue(i: string | number ) : string
Converts a number or string into its corresponding ordinal suffixed value.
This function takes a number (or string that can be parsed as a number) and returns it as a string with the appropriate ordinal suffix (
Function Parameters
i:::
- i: string | number
The number (or string) to convert into an ordinal suffixed value.
Returns
string
Defined in : link:https://github.com/thoughtspot/ts-chart-sdk/blob/f477c20/src/utils/date-formatting.ts#L493
--