Signature (Visual Basic / VBA)
Public Function NumberSuffix( _
ByVal vValue As Variant _
) As Variant
Code Example
NumberSuffix(1) = "st"
NumberSuffix(2) = "nd"
NumberSuffix(13) = "th"
NumberSuffix(42) = "nd"
NumberSuffix(45) = "th"
Parameters
| Parameter | Description |
|---|---|
| vValue | Number whose suffix is to be returned. The suffix denotes the position of the item with this number within the list of items. Function returns Null if vValue is Null or cannot be fixed up to a number. |