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 Using the printf command, its easy to divide the floating point by 12, (i.e. %04.0f) to get the XXXX feet portion, but is there an easy way to extract the remainder of the divide by 12 operation??? So that: Floating Point: 12152 inches Broken down to: 1012 FT 08.0 IN Using an integer is easy by using the Modulus function, however not so with floating point. Dan -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body