MATLAB Answers

Kobi
0

decresing decimal point of integer

Asked by Kobi
on 2 Sep 2014
Latest activity Answered by 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

  0 Comments

Sign in to comment.

Tags

Products

1 Answer

Answer by José-Luis
on 2 Sep 2014
 Accepted Answer

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

  0 Comments

Sign in to comment.