decresing decimal point of integer

2 views (last 30 days)
Kobi
Kobi on 2 Sep 2014
Answered: José-Luis on 2 Sep 2014
how can i do this? i have this number: 1.23484057 and i only need it to be 1.23

Accepted Answer

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

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!