Number to Words

Convert a numeric to a string with the English name of the number value (GB/IN/US).

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Stephen23 (2026). Number to Words (https://www.mathworks.com/matlabcentral/fileexchange/47221-number-to-words), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2009b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
4.1.9

* Add "percent" type.
* Add feature dependencz table.
* Refactor variable names.

Download
4.1.8

* Ensure test function runs on MATLAB Online

Download
4.1.7

* convert test function to class.

Download
4.1.6

* Add testcases.

Download
4.1.5

* Documentation improvements.
* Added WAITBAR to test function.
* Update references.

Download
4.1.4

* Documentation improvements.

Download
4.1.3

* FEX crashed while uploading the previous version... 2nd attempt.

Download
4.1.2

* Add more testcases
* Add reference to SCU

Download
4.1.1

* option parsing improvements.
* add format reference.

Download
4.1.0

* Faster option parsing.
* Add more testcases.

Download
4.0.1

* Improve option parsing.

Download
4.0.0

* Major code refactoring.
* Indian scale up to Shankh.
* Add 2nd output: options structure.
* More testcases.

Download
3.6.2

* Update description.

Download
3.6.1

* Revise title and summary

Download
3.6.0

* Accepts string or char vector input arguments.
* Add testcases.

Download
3.5.1

* Add error IDs.

Download
3.5.0

* Improve options handling.

Download
3.4.0

* Check for cell array optional inputs.

Download
3.3.0

* Include HTML _DOC file in zip.

Download
3.2.0

* Improve documentation.
* Consistent internal variable names.

Download
3.1.0

* Update license.

Download
3.0.0

* Add 'india' number scale (lakh and crore).
* Fix bugs in rounding of integer class numerics (for large sigfigs).

Download
2.2.0

* Simplify cell array creation.

Download
2.1.0

* Fix bug in myriad parsing (if >1 highest level multiplier).
* More robust fraction handling for all number scales.
* Smaller file-size.

Download
2.0.0

* Add a new <scale> option <myriad> (Knuth's -yllion).
* Rename option <ae> as <and>.

Download
1.9.0

* More robust handling of some edge cases: zero, NaN, Inf.
* Fraction function accepts name-value or structure input arguments.

Download
1.8.0

- Minor edit in blurb.

Download
1.7.0

- Minor edit to FEX blurb.

Download
1.6.0

* Add money/cheque number type.
* Allow options to be supplied as name-value pairs.

Download
1.5.0

- I accidentally uploaded an older version. This version matches the online description :)

Download
1.4.0

* comma control option.
* scale control option (short, long, Rowlett, Peletier).
* all names upto realmax.
* limit significant figures for floats.
* remove option <cardinal>.
* change option value 'ame' -> 'ae'.
* option fields case insensitive.

Download
1.3.0

- Downloadable as toolbox

Download
1.2.0

- Fix bug for ordinals 'first' and 'second'.
- Expand options table with more examples.

Download
1.1.0

- Improve decimal fraction handling.
- Improve input checking.

Download
1.0.0

Download