In addition to the Natural, Binary, Decimal, and Hexadecimal variable formats, CodeWarrior supports an additional class of custom fractional formats called Qn. Qn is a floating point representation of a fractional or fixed point number where n signifies the number of fractional bits (the number of bits to the right of the binary point).
CodeWarrior supports fractional formats ranging from Q0 to Q31.
To change the variable display format to fractional format:
A shortcut menu appears.
The variable value will be displayed in the specified Qn format.