how can i extract the last two digits of a big number e.g 2454152
Show older comments
if the input number is 2454152
Answers (1)
One approach —
number = 2454152;
Out = rem(number,100)
.
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!