FormulaInterface
The interface for mathematical formulae.
Tags
Table of Contents
- describe() : int|float|string
- Return the result of a mathematical expression, representing an amount of units.
Methods
describe()
Return the result of a mathematical expression, representing an amount of units.
public
describe(int|float|string $value, int|float|string $fromUnits, int|float|string $toUnits[, int $precision = null ]) : int|float|string
Parameters
- $value : int|float|string
- $fromUnits : int|float|string
- $toUnits : int|float|string
- $precision : int = null