Fixed Point to Digit String
RogerInHawaii
Posts: 87
I have a fixed point binary value. It has 16 bits of integer and 16 bits of fractional value. I know how to convert the integer portion to a decimal string, but how do I convert the fractional part to a decimal string?
Comments
The scaling constant needed is 10000/65536 * 2^32 or decimal 655360000 (duh) or $27100000.
Post Edited (localroger) : 8/17/2009 2:03:44 AM GMT