Number to Ordinal String Converter

Converts an integer into its ordinal string.

Vous suivez désormais cette soumission

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.

Citation pour cette source

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

Remerciements

A inspiré : ORDNUMSTR, Numeric to Ordinal-String

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0