You are here

public function UnitsMathematicalExpression::toInfix in Units of Measurement 7.2

Represent this mathematical expression in human-friendly infix notation.

Parameters

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

Return value

string Human-friendly formatted version of this mathematical expression taking into account provided $options

3 methods override UnitsMathematicalExpression::toInfix()
AbstractUnitsMathematicalOperator::toInfix in ./units.module
Represent this mathematical expression in human-friendly infix notation.
UnitsConstantMathematicalExpression::toInfix in ./units.module
Represent this mathematical expression in human-friendly infix notation.
UnitsEntity::toInfix in includes/UnitsEntity.class.inc
Represent this mathematical expression in human-friendly infix notation.

File

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

Class

UnitsMathematicalExpression
Interface of "mathematical expression".

Code

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