double MathAbs(double value)
Returns the absolute value (modulus) of the specified numeric value.
指定した数値の絶対的な値(絶対値)を返します。
Parameters:
パラメータ:
value - Numeric value.
数値。
Sample:
サンプル:
double dx=-3.141593, dy;
// calc MathAbs
dy=MathAbs(dx);
Print("The absolute value of ",dx," is ",dy);
// Output: The absolute value of -3.141593 is 3.141593
|