Be the first to rate this file! 0 Downloads (last 30 days) File Size: 1.15 KB File ID: #1930

Number to Ordinal String Converter

by Bill Higley

 

09 Jul 2002 (Updated 09 Jul 2002)

Converts an integer into its ordinal string.

| Watch this File

File Information
Description

This function turns a number into an ordinal string, ie 1 becomes 'first', 2 becomes 'second'. After 'twentieth', the number is used with the appropriate 'st, 'nd', 'rd', or 'th'. Useful for instructionary dialog boxes, etc.

Acknowledgements
This submission has inspired the following:
ORDNUMSTR
MATLAB release MATLAB 6.1 (R12.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gui tools Bill Higley 22 Oct 2008 06:46:17
example Bill Higley 22 Oct 2008 06:46:17
num2ordstr Bill Higley 22 Oct 2008 06:46:17
num2str Bill Higley 22 Oct 2008 06:46:17
number string Bill Higley 22 Oct 2008 06:46:17
converter Bill Higley 22 Oct 2008 06:46:17

Contact us at files@mathworks.com