| <strong><em>example if the code return negative ratio how do turn it into a positive</em></strong> |
is a mistake
real question “example if the code return negative ratio how do turn it into a positive”
Or im guesssing this might work if you do get either a positive or negative C outcome .
IF (C < 0) THEN
Distance = C * -1
ELSE
Distance = C
ENDIF
NEXT
RETURN Distance
First code worked very well, second one i guess i will be using it in near future.
Thank you for your assistance