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

AVEVA™ Plant SCADA

[CtAPI]RoundToFormat

  • Last UpdatedJul 19, 2023
  • 1 minute read

This setting configures whether or not variable tag values returned by CTAPI functions ctTagRead, ctTagReadEx and ctListData will be rounded to the format of the variable tag. Quite often, the value reported for a variable tag will not be precise, resulting in a large number of decimal places.

When this parameter is set the precision of the value returned is rounded to the format of the tag. For example, if the value coming from the IO device for the tag is 3.4999999999999, but the format is ##.##, the rounded value will be 3.50.

Allowable Values:

  • 0 - Values not rounded to format

  • 1- Values rounded to format

Default Value:

1

See Also

CtAPI Parameters

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