DayInstanceNumericSuffix Method

This is used to get the descriptive suffix for a number (i.e. "st" for 1st, "nd" for 2nd, etc).

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public static string NumericSuffix(
	int number
)

Parameters

number  Int32
The number for which to get the suffix

Return Value

String
The number as a string with the appropriate suffix

Remarks

It is static so that it can be shared with other classes that need it

See Also