HOME > テクニカルサポート > 製品 一覧 > SigmaPlot > ユーザーガイド > トランスフォーム関数一覧
ヒューリンクステクニカルサポート
皆様からのご質問のうち、よくある質問を掲載しました。
更新日: 14/05/08

round

関数 round は、単一の数値または範囲として与えられた複数の数値を指定した桁数に丸めます。数値は四捨五入されます (0.5 は切り上げされます) 。

 

構文

round(numbers, places)

引数 numbers には、スカラーまたは範囲として与えられた数値を指定します。この範囲に欠損値または文字列がある場合は無視され、欠損値または文字列として返されます。引数 places に負の値を指定すると、小数点の左で四捨五入されます。整数に四捨五入する場合は、引数 places に 0 を指定します。

 

 

関連情報

 

 

round

The round function rounds a number or range of numbers to the specified decimal places of accuracy. Values are rounded up or down to the nearest integer; values of exactly 0.5 are rounded up.

Syntax

round(numbers,places)

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. If the places argument is negative, rounding occurs to the left of the decimal point. To round to the nearest whole number, use a places argument of 0.

Example

The operation round(92.1541,2) returns a value of 92.15. The operation round(0.19112,1) returns a value of 0.2. The operation round(92.1541,-2) returns a value of 100.0.

関連情報

 

 

前のページにもどる