You are here

public function UnitsMathematicalExpression::toPostfix in Units of Measurement 7.2

Represent this mathematical expression in postfix notation.

Represent this mathematical expression in postfix (reverse polish) notation.

Parameters

array $options: Options regarding how to format this mathematical expression TODO: document possible options

Return value

string Postfix (reverse polish) notation representation of this mathematical expression

3 methods override UnitsMathematicalExpression::toPostfix()
AbstractUnitsMathematicalOperator::toPostfix in ./units.module
Represent this mathematical expression in postfix notation.
UnitsConstantMathematicalExpression::toPostfix in ./units.module
Represent this mathematical expression in postfix notation.
UnitsEntity::toPostfix in includes/UnitsEntity.class.inc
Represent this mathematical expression in postfix notation.

File

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

Class

UnitsMathematicalExpression
Interface of "mathematical expression".

Code

public function toPostfix($options = array());