EqualTo Method (XPRBexpr, Double)
Create an XPRBrelation from an XPRBexpr and a double. Equal to.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0

Parameters
- l1
-
Type:
BCLXPRBexpr
The lhs XPRBexpr. - dl2
-
Type:
SystemDouble
The rhs double.
Return Value
Type: XPRBrelationThe resultant XPRBrelation.

This is usually used when creating relations for those languages that do not allow operator overloading.

XPRBvar var = new XPRBvar("Variable1"); XPRBexpr exp = new XPRBexpr(var - 19.6) XPRBrelation rel; ... rel = XPRBexpr.EqualTo(exp, 37.1);
