Add tests with 100,1000...
Solutions with ceil are wrong.
function out = HowManyDigits(in)
out = floor(log10(in))+1;
end
10059 Solvers
All your base are belong to us
464 Solvers
407 Solvers
Given a matrix, swap the 2nd & 3rd columns
532 Solvers
725 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!