decresing decimal point of integer

2 visualizaciones (últimos 30 días)
Kobi
Kobi el 2 de Sept. de 2014
Respondida: José-Luis el 2 de Sept. de 2014
how can i do this? i have this number: 1.23484057 and i only need it to be 1.23

Respuesta aceptada

José-Luis
José-Luis el 2 de Sept. de 2014
result = floor(your_num.*100)./100

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by