public function UnitsConstantMathematicalExpression::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
Return value
string Human-friendly formatted version of this mathematical expression taking into account provided $options
Overrides UnitsMathematicalExpression::toInfix
File
- ./
units.module, line 1842 - Provide API for managing and converting units of measurement.
Class
- UnitsConstantMathematicalExpression
- Implementation of "mathematical expression" interface for a constant.
Code
public function toInfix($options = array()) {
return $this->constant;
}