double result, result_sin, result_cos, result_tan;
result = Math.abs(3.5);
System.out.println(result);
result = Math.abs(-3.5);
System.out.println(result);
result = Math.ceil(3.5);
System.out.println(result);
result = Math.ceil(-3.5);
System.out.println(result);
result = Math.floor(3.5);
System.out.println(result);
result = Math.floor(-3.5);
System.out.println(result);
result = Math.round(3.5);
System.out.println(result);
result = Math.round(-3.5);
System.out.println(result);
result = Math.min(-3.5, 3.5);
System.out.println(result);
result = Math.max(-3.5, 3.5);
System.out.println(result);
result = Math.sqrt(25);
System.out.println(result);
댓글