Cody

Solution 54686

Submitted on 1 Mar 2012
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
%% assert(numCmp('12.3456',12.3456))
Error: Assertion failed.
2   Fail
%% assert(numCmp('12.3456',12.3456789))
Error: Assertion failed.
3   Pass
%% assert(~numCmp('12.3456',12.345))
tf = 0
4   Pass
%% assert(~numCmp('12.34567890',12.3456))
tf = 0
5   Pass
%% assert(numCmp('12e6',12e6))
tf = 1
6   Pass
%% assert(~numCmp('54',100))
tf = 0