You are here

public function UnitsConstantMathematicalExpression::decompose in Units of Measurement 7.2

Decompose (simplify) this mathematical expression.

Return value

UnitsMathematicalExpression Decomposed (simplified) version of this mathematical expression

Overrides UnitsMathematicalExpression::decompose

File

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

Class

UnitsConstantMathematicalExpression
Implementation of "mathematical expression" interface for a constant.

Code

public function decompose() {
  return $this;
}