FixedTruncate
You can use theFixedTruncatemacro to obtain an integer that is the greatest integer that is not greater than the givenFixednumber.
#define FixedTruncate(a) ((short)((Fixed)(a) >> 16))
a- The number that is to be truncated.
- macro result
- The largest integer that is not greater than the
Fixed number.