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)

MOD

  • Last UpdatedDec 19, 2022
  • 1 minute read

The MOD function returns the remainder (modulus) of n divided by m.

Syntax

Int8 MOD(n Int8, m Int8)
Int16 MOD(n Int16, m Int16)
Int32 MOD(n Int32, m Int32)
Int64 MOD(n Int64, m Int64)
UInt8 MOD(n UInt8, m UInt8)
UInt16 MOD(n UInt16, m UInt16)
UInt32 MOD(n UInt32, m UInt32)
UInt64 MOD(n UInt64, m UInt64)

Arguments

  • n

    Must be an integer or an expression that evaluates to an integer.

  • m

    Must be an integer or an expression that evaluates to an integer.

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