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: 78ms

DB GetPage 48
Generate Html 3
SaveChanges (1) 11
Render Body 0
Render Sidebar 14