Cody

Solution 179218

Submitted on 19 Dec 2012 by Takehiko KOBORI
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
%% peta = 40; nano_correct = 7.5; assert(isequal(round(peta_to_nano(peta)*1000)/1000,nano_correct))
2   Pass
%% peta = 250; nano_correct = 1.2; assert(isequal(round(peta_to_nano(peta)*10)/10,nano_correct))