Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 3
Generate Html 6
SaveChanges 9
Render Body 0
Render Sidebar 11