Ordinal

Get a Number Suffix
They allow you to turn 1 into 1st, 2 into 2nd, etc. giving your application an air of intelligence.
This code snippet accepts a regular integer and returns the number along with its appropriate suffix.
Example. Ordinal(1) ' returns 1st
Ordinal(342) ' returns 342nd
Ordinal(13) ' returns 13th

Found on the net, not my work

CodeFunctionName What is this?

Public

Tested

Imported

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Boldcodes.com

Linkedin Login

Number

Views 5,152

Downloads 1,401

CodeID
DB ID

ANmarAmdeen
711
Attachments
Revisions

v1.0

Sunday
June
24
2018