Ok, since you only need 2 decimals and my code gives 3 you can use the extra precision to round the result .......
IntPartOfPos1 = 16bitPosition1 ** 360
FracPartOfPos1 = 16bitPosition1 * 360
FracPartOfPos1 = FracPartOfPos1 ** 1000
FracPartOfPos1 = (FracPartOfPos1 + 5) / 10
LCDOUT DEC3 IntPartOfPos1, ".", DEC2 FracPartOfPos1
..... should give you a correctly rounded result with 2 decimals.
/Ingvar
Bookmarks