约 88,100 个结果
在新选项卡中打开链接
  1. Java Math abs () Method - W3Schools

    Definition and Usage The abs() method returns the absolute (positive) value of a number.

  2. Java Math abs() method with Examples - GeeksforGeeks

    2025年7月11日 · The java.lang.Math.abs () returns the absolute value of a given argument. If the argument is not negative, the argument is returned. If the argument is negative, the negation of the …

  3. Math (Java Platform SE 8 ) - Oracle Help Center

    The class Math contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.

  4. Java Math abs () - Programiz

    In this tutorial, we will learn about the Math abs () method with the help of examples.

  5. Java - Math.abs () Method - Online Tutorials Library

    In this example, we're showing the usage of Math.abs () method to get absolute value of a double. We've created two Double variable x and y and initialized them with negative and positive values.

  6. Java Math abs () Method

    The Math.abs() method in Java is used to return the absolute value of a number. This guide will cover the method's usage, explain how it works, and provide examples to demonstrate its functionality for …

  7. Java Math.abs () method - Tpoint Tech

    2025年3月17日 · The java.lang.Math.abs () method returns the absolute (Positive) value of a int value. This method gives the absolute value of the argument. The argument can be int, double, long and …