MATLAB: Extracting the second decimal point of a number

decimal points

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.?

Best Answer

A=[8.18750];
d = mod(floor(100*A),10);