SmallFract2Fix
SmallFract2Fix Convert a SmallFract value to a Fixed data type
#include <Picker.h> Color Picker Package
Fixed SmallFract2Fix(aSmallFract);
SmallFract aSmallFract; is the SmallFract value to be converted
returns a Fixed integer
The SmallFract2Fix procedure converts a SmallFract value to a Fixed
integer. A SmallFract value can represent a value between 0 and 65,535. The
Color Picker Package uses SmallFract values in its CMYColor, HSLColor,
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
value (as is the case with RGBColor), the Color Picker sidesteps
problems with sign extensions in the conversion math.