Cody

Solution 2473241

Submitted on 4 Jun 2020 at 18:54
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
x = 12358466243; y_correct = 12358470000; assert(isequal(round_ten_thou(x),y_correct))

ans = 1.2358e+10

Output argument "y" (and maybe others) not assigned during call to "round_ten_thou". Error in Test1 (line 3) assert(isequal(round_ten_thou(x),y_correct))

2   Fail
x = 12358466243.325; y_correct = 12358470000.000; assert(isequal(round_ten_thou(x),y_correct))

ans = 1.2358e+10

Output argument "y" (and maybe others) not assigned during call to "round_ten_thou". Error in Test2 (line 3) assert(isequal(round_ten_thou(x),y_correct))