Hi Scorpion,
You can do floats, it's described on Melabs page. However, there's a different way, calculations with fractions. This is done with the "*/" or "**" operators. Tracey Allen has done a good job of describing theese(and a lot more) on his site http://www.emesys.com/BS2math1.htm .
The "*/" operator does an "invisible" division by 256.
The "**" operator does an "invisible" division by 65536.
Lets say you want to calculate Y=X/10.24 ......
X VAR WORD
Y VAR WORD
Y = X */ 25
This would be the same as doing X*25/256 on your calculator. 25/256 is equal to 1/10.24.
/Ingvar
Bookmarks