CimClassDataItemExpression.FirstOperandNum (property)

gets and sets the first operand as a number.
Syntax: double = object.FirstOperandNum
object.FirstOperandNum = double
Description: CimClassDataItemExpression.FirstOperandNum is number that hlds the first (or left hand) side of the opperand if the value is to be treated as a number. Use CimClassDataItemExpression.FirstOperandString if your value is a string.


Dim class As CimClassInstance
Dim dataItem As CimPoint
Set dataItem = class.DataItems.Item("EXISTING_POINT")
Set expressionList = dataItem.Expressions
Set expression = expressionList.Add("$LEVEL")
expression.FirstOperandNum = 2.2