Write out numbers in words - MATLAB Cody - MATLAB Central

Problem 44293. Write out numbers in words

Difficulty:Rate
Write out numbers in words ( range [0-9999] ) with British spelling rules. For example;
  • 1 > one
  • 56 > fifty-six
  • 100 > one hundred
  • 105 > one hundred and five
  • 245 > two hundred and forty-five
  • 1520 > one thousand, five hundred and twenty
  • 9999 > nine thousand, nine hundred and ninety-nine (maximum)

Solution Stats

17.27% Correct | 82.73% Incorrect
Last Solution submitted on Jun 10, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
1
2

Problem Recent Solvers10

Suggested Problems

More from this Author92

Community Treasure Hunt

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

Start Hunting!