MATLAB Answers

Extracting the second decimal point of a number

7 views (last 30 days)
Hi,
I want to extract the 2nd decimal point without rounding from a vector of numbers. For example:
A=[8.18750];
I want to get number 8. How can I do so in a simple way.?

Accepted Answer

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by