Double num1 = Math.abs(num);