Number to Ordinal String Converter

版本 1.0.0.0 (546 字节) 作者: Bill Higley
Converts an integer into its ordinal string.
1.9K 次下载
更新时间 2002/7/9

无许可证

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.

引用格式

Bill Higley (2024). Number to Ordinal String Converter (https://www.mathworks.com/matlabcentral/fileexchange/1930-number-to-ordinal-string-converter), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R12.1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Characters and Strings 的更多信息
致谢

启发作品: ORDNUMSTR, Numeric to Ordinal-String

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0