Takes a number and appends the ordinal suffix. ie. 1 = 1st, 13 = 13th.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public static string AppendOrdinalSuffix(
	string number
)
Visual Basic
Public Shared Function AppendOrdinalSuffix ( 
	number As String
) As String

Parameters

number
Type: System..::..String

Return Value

Type: String

See Also