Garry's Mod Wiki

Garry's Mod Wiki

  string STNDRD( number number )

Description

Returns the ordinal suffix of a given number.

Arguments

1 number number
The number to find the ordinal suffix of.

Returns

1 string
suffix

Example

Returns the ordinal suffix of 72.

print( 72 .. STNDRD(72) )
Output: 72nd

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...