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.87% Correct | 44.13% Incorrect
Last Solution submitted on Mar 06, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
3
5

Problem Recent Solvers3711

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