How can I get the difference between two + or - floats?

You can get the absolute value of the difference between the 2

math::abs(a-b)

ex1 :-3,-2 —> abs(-3 - -2) —> abs(-1) —> 1

ex2 :-3, 2 —> abs(-3 - 2) —> abs(-5) —> 5

ex3 :3, -2 —> abs(3 - -2) —> abs(5) —> 5

ex4 :3, 2 —> abs(3 - 2) —> abs(1) —> 1

https://s23.postimg.org/sl1be55m3/math_Abs.png