 | MathUtilsAbs Method |
Returns the absolute value of the passed number.
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float Abs(
float x
)
Public Shared Function Abs (
x As Single
) As Single
public:
static float Abs(
float x
)
static member Abs :
x : float32 -> float32
Parameters
- x
- Type: SystemSingle
Number to compute the absolute value of.
Return Value
Type:
Single
Absolute value of
x.
See Also