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

AVEVA™ InTouch HMI

平方根の計算

  • Last UpdatedSep 26, 2024
  • 1 minute read

スクリプトでは、Sqrt() 関数を使用して、負ではない数値の平方根を計算できます。

注意:負の数値を Sqrt() 関数に渡すと、-99.0000000 が返されます。

構文

result = Sqrt (number)

パラメータ

数値型

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

Sqrt(36) は 6 を返します。

Sqrt(perftag) はタグ変数 perftga に保持されている値の平方根を返します。

In This Topic
Related Links