How to use ABS in C++?

This works for me but Correct me if I am wrong:

if (abs(-LocTopVlue) < abs(-LocBottomValue))
		{

		}
2 Likes