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

PI SQL Data Access Server (RTQP Engine)

ROUND with a numeric argument

  • Last UpdatedDec 19, 2022
  • 1 minute read

The ROUND function returns a numeric value (x), rounded to the specified length or precision (y).

Syntax

Single ROUND(x Single, y Int32)
Double ROUND(x Double, y Int32)

Arguments

  • x

    Must be a real number.

  • y

    Must be an integer.

    Note: The ROUND function also works with a DateTime argument. For more information, see ROUND with a DateTime argument.

In This Topic
TitleResults for “How to create a CRG?”Also Available in