![]() |
| サイトマップ | |
|
関数 abs
は、指定範囲内にある各数値の絶対値を返します。
abs
(numbers)
引数 numbers には、スカラーまたは範囲で与えられた数値を指定します。範囲内に欠損値や文字列が含まれる場合は、いずれも無視され、文字列または欠損値を返します。
col(2) = abs(col(1))
は、列1 のデータの絶対値を 列2 に配置します。
The abs function returns the absolute value for each number in the specified range.
abs(numbers)
The numbers argument can be a scalar or range of numbers. Any missing value or text string contained within a range is ignored and returned as the string or missing value.
The operation col(2) = abs(col(1)) places the absolute values of the data in column 1 in column 2.