Documentation

FormulaInterface

The interface for mathematical formulae.

Tags
version
1.0.0
since
0.8.1
author

Jordan Brauer 18744334+jordanbrauer@users.noreply.github.com

codeCoverageIgnore

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
Return values
int|float|string

Search results