Garry's Mod Wiki

Garry's Mod Wiki

  string string.CardinalToOrdinal( number input )

Description

Converts a cardinal (111) number to its ordinal/sequential variation (111th).

See also STNDRD for a function that returns just the suffix.

Arguments

1 number input
A number to convert to ordinal.

Returns

1 string
The ordinal numeral.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...