Quote Originally Posted by richard View Post
no its temp x100 and the second term is the remainder {modulus) I'm not confidant that a simple division would ever be correct
I am not sure I follow.

dc var as I understand, holds the value say, 2236. This represents the value 22.36 degrees celcious.

To display it as integer, dc/100 is used and for the floating part, DEC2 dc will display the least significant digits, that is 36. So the use of //100 I think, only increases the code size.

Ioannis