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

AVEVA Enterprise SCADA

Calculate a volume

  • Last UpdatedApr 24, 2025
  • 1 minute read

The following piece of code calculates the volume of a cylinder and illustrates the use of the System.Math class.

Dim Height As Double = input1

Dim Radius As Double = input2

output = System.Math.Pi * System.Math.Pow(Radius, 2) * Height