Calculates the magnitude order for a given value
Magnitude(v)
v
The numerical value
The magnitude order