SmallFract2Fix
integer. A SmallFract value can represent a value between 0 and 65,535. The and HSVColor records. You can use this function if you need to convert SmallFract values to or from fixed values. (They can be assigned directly to and from integers.)
Returns: a 32-bit Fixed value, equivalent to aSmallFract to the best precision possible for the data type.
Notes: A SmallFract is the fractional part of a Fixed number, can be assigned directly to and from a short , and represents values between 0 and 65,535.
By using a SmallFract while short is used as an unsigned integer-sized problems with sign extensions in the conversion math.