Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

Round() 関数

  • Last UpdatedFeb 05, 2018
  • 1 minute read

数値を指定した精度に丸めます。結果は実数値です。

構文

result = Round (number, precision)

パラメータ

number

リテラル数、アナログ型タグ変数、または数式です。

precision

数値が切り上げ/切り捨てられる精度です。リテラル数、アナログ型タグ変数、または数式を使用できます。

Round(4.3, 1) は 4 を返します。

Round(4.3, 0.01) は 4.30 を返します。

Round(4.5, 1) は 5 を返します。

Round(-4.5, 1) は -4 を返します。

Round(106, 5) は 105 を返します。

Round(43.7, 0.5) は 43.5 を返します。