Provide the positive value of various numbers.
System. System. System.
|
The abs() method yields the positive value of a number by disregarding its sign.
Please provide the options you’d like me to rephrase.
public
|
public static float abs(float number) |
public
|
public
|
Parameter |
Description |
number |
Required. Specifies a number. |
Returns: |
A double, float, int, or long value representing the absolute magnitude of the specified number. |