DayInstanceNumericSuffix Method
This is used to get the descriptive suffix for a number (i.e. "st" for 1st, "nd" for 2nd, etc).
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public static string NumericSuffix(
int number
)
Public Shared Function NumericSuffix (
number As Integer
) As String
public:
static String^ NumericSuffix(
int number
)
static member NumericSuffix :
number : int -> string
- number Int32
- The number for which to get the suffix
StringThe number as a string with the appropriate suffix
It is static so that it can be shared with other classes that need it