floats are slower, and require more flash if the math library has to be used.
In my code, I usually use
result = 0 - theNumber;
floats are slower, and require more flash if the math library has to be used.
In my code, I usually use
result = 0 - theNumber;