On Wed, 4 Jun 2003 08:18:27 -0400, you wrote: >I'm in the process of changing all my floating points to fixed point >numbers, but there are a few I need to stick with the >floating point. > >Anyways, I have one particular floating point number which needs to be >broken down to the following format to be >displayed on an LCD screen: > >XXXX feet, XX.X inches Just because it needs to be displayed with a DP doesn't mean you need FP.= =20 A little extra code to split it up for display will probably greatly = outweigh the code savings from not using FP in calculations.=20 =46or example if you work in 24.8 fixed point in feet, this gives a range= of 16 million feet with a resolution of 1/256 inch.=20 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body