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 31, 2025

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers3713

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