toOrder

Returns a string with a right postfix after this.

Usage example:

21.toShort().toOrder() // 21st
32.toShort().toOrder() // 32nd
43.toShort().toOrder() // 43rd
54.toShort().toOrder() // 54th

Returns a string with a right postfix after this.

Usage example:

21.toOrder() // 21st
32.toOrder() // 32nd
43.toOrder() // 43rd
54.toOrder() // 54th

Returns a string with a right postfix after this.

Usage example:

21L.toOrder() // 21st
32L.toOrder() // 32nd
43L.toOrder() // 43rd
54L.toOrder() // 54th