Add tests with 100,1000...
Solutions with ceil are wrong.
function out = HowManyDigits(in)
out = floor(log10(in))+1;
end
3378 Solvers
1883 Solvers
Make an awesome ramp for a tiny motorcycle stuntman
334 Solvers
Change the sign of even index entries of the reversed vector
297 Solvers
432 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!