Number to Ordinal String Converter

Converts an integer into its ordinal string.

Ahora está siguiendo esta publicación

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.

Citar como

Bill Higley (2026). Number to Ordinal String Converter (https://es.mathworks.com/matlabcentral/fileexchange/1930-number-to-ordinal-string-converter), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspiración para: ORDNUMSTR, Numeric to Ordinal-String

Categorías

Más información sobre Characters and Strings en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0