Problem 495. Formatting currency numbers
Solution Stats
Solution Comments
-
1 Comment
Jan
on 23 Apr 2012
This looks much (c)leaner than the REGEXP method.
-
2 Comments
Alfonso Nieto-Castanon
on 16 Mar 2012
while on the topic of 'undocumented trivia that will earn you a couple of cody points for no good reason', have you seen this one?
Ned Gulley
on 23 Jun 2016
I believe this is the very first use of the Ans Hack in Cody. See http://blogs.mathworks.com/community/2016/06/23/the-great-ans-hack/
-
2 Comments
@bmtran (Bryant Tran)
on 15 Mar 2012
interesting use of strread to turn a string into a cell array (though probably only really useful in cody)
Ned Gulley
on 15 Mar 2012
Kids, don't try this at home. :-)
-
1 Comment
Ned Gulley
on 13 Mar 2012
This solution was proposed by Oleg Komarov.
Problem Recent Solvers102
Suggested Problems
-
964 Solvers
-
951 Solvers
-
240 Solvers
-
628 Solvers
-
Output any real number that is neither positive nor negative
342 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!