decresing decimal point of integer

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 日

0 投票

result = floor(your_num.*100)./100

その他の回答 (0 件)

カテゴリ

製品

タグ

質問済み:

2014 年 9 月 2 日

回答済み:

2014 年 9 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by