Absolute value of a variable

Hello all I have a question about some code I am writing. I need to find the absolute value of a variable so I can put it into another equation. I think the correct form is |x| but a lot of the proper math form is different in Arduino code. thank you.

man page: abs

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.