Add tests with 100,1000...
Solutions with ceil are wrong.
function out = HowManyDigits(in)
out = floor(log10(in))+1;
end
708 Solvers
Reverse the elements of an array
687 Solvers
561 Solvers
Create a two dimensional zero matrix
355 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!