how can i extract the last two digits of a big number e.g 2454152
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
if the input number is 2454152
0 comentarios
Respuestas (1)
Star Strider
el 25 de Oct. de 2021
One approach —
number = 2454152;
Out = rem(number,100)
.
2 comentarios
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!