Add tests with 100,1000...
Solutions with ceil are wrong.
function out = HowManyDigits(in)
out = floor(log10(in))+1;
end
17464 Solvers
1961 Solvers
Convert a numerical matrix into a cell array of strings
454 Solvers
327 Solvers
187 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!