Problem 28. Counting Money

Created by Cody Team in Cody Challenge

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


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

Solution Stats

55.19% Correct | 44.81% Incorrect
Last solution submitted on Mar 15, 2018

Problem Comments

Solution Comments

Recent Solvers1249

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!