You are here

public function AbstractUnitsMathematicalOperator::operand1 in Units of Measurement 7.2

Retrieve operand #1 from this mathematical operator.

Return value

UnitsMathematicalExpression Operand #1 from this mathematical expression

Overrides UnitsMathematicalOperatorInterface::operand1

1 call to AbstractUnitsMathematicalOperator::operand1()
AbstractUnitsMathematicalOperator::isolateOperand in ./units.module
Numerically isolate a certain operand of this mathematical expression.

File

./units.module, line 1517
Provide API for managing and converting units of measurement.

Class

AbstractUnitsMathematicalOperator
Abstract implementation of "mathematical operator" interface.

Code

public function operand1() {
  return $this->operand1;
}