num2english

Converts real numbers to plain english
939 download
Aggiornato 8 gen 2007

Nessuna licenza

NUM2ENGLISH Convert numbers to plain english.
T = num2english(X) returns the plain english representation of the
number X. If X is a vector, it returns a character array with each
number in a different row.

T = num2english(X,'year') returns a string sounding more like a year,
for instance num2english(1984,'year') will return 'nineteen
eighty-four'. If the third digit is a zero it will return 'oh', so
num2english(1706,'year') returns 'seventeen oh-six'.

T = num2english(X,'th') returns first, second, third etc. instead of
one two three.

T = num2english(X,'example') returns a display of the various aspects
of the function.

Cita come

Dave Kellow (2024). num2english (https://www.mathworks.com/matlabcentral/fileexchange/13577-num2english), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2006a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Data Type Conversion in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: Words to Number, Number to Words

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0