SetTagPrecision
- Last UpdatedNov 17, 2021
- 1 minute read
The SetTagPrecision method sets the number of decimal places to show for the data value of the currently selected tag. This applies only to analog tags.
Syntax
[Result=] aaHistClientTrend.SetTagPrecision(message serverName, message tagName, integer precision);
Parameters
serverName
The name of the server.
tagName
The name of the tag.
precision
The decimal places (precision) for the tag. Valid values are 0 to 15.
Return Value
Returns True if successful; otherwise returns False.
Remarks
If the specified tag is shown in the chart multiple times, the method uses the first instance that was added.