Definitely use integers. If you're attempting this in a PIC, your accuracy (gut feeling only) isn't going to be on the order of meters or better. What sort of accuracy do you require?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum