STNDRD

From Garry's Mod
Jump to: navigation, search
 STNDRD( )

Contents

Description

Returns the ordinal suffix of a given number.

Arguments

number number

The number to find the ordinal suffix of.

Returns

string

suffix

Examples

Example

Returns the ordinal suffix of 72.

print( 72 .. STNDRD(72) )

Output:

72nd
Personal tools
Navigation