abs

メソッド Type method
Math.abs() Format Math.abs (value)
Commentary
の絶対を求めます。 Determine the absolute value of value. -1であれば1になります。 If one is -1. 0は0のままです。 0 is still 0.
サンプルコード Sample code
outputs[0] = Math.abs(inputs[0]); outputs [0] = Math.abs (inputs [0]);