Quote Originally Posted by savnik View Post
i have two variables:
x var word
y var word
and x < y.

How to show on lcd the result of x/y , or the value = SQR x/y
Right...I understand that. I'm still trying to make you understand.
Again, I ask you to do a search in the PBP manual for floating point math and tell me what you come up with (same hint: we've already been through this in January, see post #8 of the "16f877 with LM335 problem" thread ).