I am using an F877 to produce a 10 bit A/D reading. This is combined into a single variable. This is then passed to a binary to bcd routine which gives me a single variable xxxx (i.e. 1023, 0963, 0053, 0007). I now want to sent this to the terminal in the following format x.xxx (i.e. 1.023, 0.963, 0.053, 0.007). The serial comms is OK but I am not sure which is the best method method to produce this output. Any suggestions please? Ian Forse ------------------------------------------------------------------ http://mdm1.bravepages.com Technical support for the Multifunction Display Module --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/02 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body