decresing decimal point of integer

1 回表示 (過去 30 日間)
Kobi
Kobi 2014 年 9 月 2 日
回答済み: José-Luis 2014 年 9 月 2 日
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 Center および File ExchangeMATLAB についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by