title: calculating magnitude of a number in java
body: <p>I forgot the function in Java to calculate the magnitude of an integer. help please..</p>
  
  <p>|5| = +5 = 5</p>
  
  <p>|-5| = +5 = 5</p>
  
  <p>so if  a - b   is  - x </p>
  
  <p>mag (a - b) is x a posstive number..</p>