Article # 405, added by Geoworks, historical record
| first | previous | index | next | last |

How would you convert a DWFixed into a WWFixed?



Q. How would you convert a DWFixed into a WWFixed in C?

A. Here is an example: wwf is a variable of WWFixed and dwf is a
   variable of type DWFixed.
	wwf.WWF_frac = dwf_WWF.frac;
	wwf.WWF_int = (word)dwf_WWF.int;