You are here

public function UnitsMathematicalExpression::evaluate in Units of Measurement 7.2

Numerically evaluate this mathematical expression.

Return value

float Numerical value of this mathematical expression

3 methods override UnitsMathematicalExpression::evaluate()
AbstractUnitsMathematicalOperator::evaluate in ./units.module
Numerically evaluate this mathematical expression.
UnitsConstantMathematicalExpression::evaluate in ./units.module
Numerically evaluate this mathematical expression.
UnitsEntity::evaluate in includes/UnitsEntity.class.inc
Numerically evaluate this mathematical expression.

File

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

Class

UnitsMathematicalExpression
Interface of "mathematical expression".

Code

public function evaluate();