Problem 49057. Mass Conversion 1
Solution Stats
Problem Comments
-
2 Comments
Test criteria is wrong, can't assert the right return value.
The description has been updated to state the precision of the conversion factor used in the test suite.
Solution Comments
-
2 Comments
does the test case work as it rejects answer two and I cannot see any obvious different and drop the trailing zeros?
I am not sure why it was not working... The test suite has been modified to use a tolerance, so your solution should pass now.
Problem Recent Solvers150
Suggested Problems
-
Project Euler: Problem 7, Nth prime
1007 Solvers
-
The sum of the numbers in the vector
491 Solvers
-
261 Solvers
-
482 Solvers
-
2572 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!