Garry's Mod Wiki

STNDRD

STNDRD

  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

Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 7