Counting Money - MATLAB Cody - MATLAB Central

Problem 28. Counting Money

Difficulty:Rate

Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99.

Example:

 Input a = {'$12,001.87','$0.04','$12,003,887.55','$0.32'};
 Output b is 12015889.78

Solution Stats

55.92% Correct | 44.08% Incorrect
Last Solution submitted on May 09, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Problem Recent Solvers3727

Suggested Problems

More from this Author96

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page