Important: The information in this document is obsolete and should not be used for new development.
FixedToInt
You can use theFixedToIntmacro to convert aFixednumber to an integer.
#define FixedToInt(a) ((short) ((Fixed) (a) + fixed1/2 >> 16))
a- A
Fixednumber to be converted to an integer.- macro result
- An integer having the closest value to the
Fixed number.