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.
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.
9980 Solvers
Replace NaNs with the number that appears to its left in the row.
2034 Solvers
Matlab Basics - Logical Tests I
199 Solvers
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
374 Solvers
Solve a System of Linear Equations
3837 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!