Problem 42386. Faint Receipt
Solution Stats
Problem Comments
-
9 Comments
That link doesn't work as written (at least, it didn't for me). It does function, though, if you truncate the url at #.
Could I convince you to not use isequal() when comparing floating point numbers in the test suite?
Christian, generally, I would change out isequal(). However, in this case, the problem is dealing with currency; therefore, each amount has a fixed precision: two decimal places.
Solution Comments
Show commentsProblem Recent Solvers17
Suggested Problems
-
Remove the polynomials that have positive real elements of their roots.
1703 Solvers
-
given 3 sides, find area of this triangle
807 Solvers
-
Permute diagonal and antidiagonal
463 Solvers
-
Create an index-powered vector
810 Solvers
-
Sum the real and imaginary parts of a complex number
141 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!