decresing decimal point of integer

2 次查看(过去 30 天)
how can i do this? i have this number: 1.23484057 and i only need it to be 1.23

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by