Well, as was stated your question, ronsimpson did answer very good.
A simple thank would be OK if you did no liked the time he spent for you.
Anyway, PBP does not support FP directly. So tricks like the one suggested should be used.
A byte is 0-255 in range and a word 0-65535, so none will store you values as is.
Have a look at n-bit math here:
http://www.picbasic.co.uk/forum/show...ght=n-bit+math
or real Floating Point here:
http://melabs.com/resources/fp.htm
Ioannis
Bookmarks