Cody

Solution 692316

Submitted on 26 Jun 2015 by Levent Zaimoglu
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   Pass
%% x = 12358466243; y_correct = 12358470000; assert(isequal(round_ten_thou(x),y_correct))

ans = 1.2358e+10

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

ans = 1.2358e+10