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

AVEVA™ Insight

TRUNCATE

  • Last UpdatedMar 03, 2025
  • 1 minute read

The TRUNCATE() function produces a stream of results removing the fractional portion of a stream's values.

Syntax

Format

Stream = TRUNCATE( Stream )

Arguments

Stream - A stream of values

Description

Returns a stream that is a copy of the input stream, with the fractional part of all values removed.

Example 1

The following expression returns the sum of power consumption, with the fractional removed.

TRUNCATE(PLPReactor.PLPWIN2019.VectorTags.VectorX +PLPReactor.PLPWIN2019.VectorTags.VectorY +PLPReactor.PLPWIN2019.VectorTags.VectorZ )

A chart using the example expression

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