Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
PartKeepr
SiPrefixBundle
Entity
SiPrefix
calculateProduct
PartKeepr\SiPrefixBundle\Entity\SiPrefix::calculateProduct PHP Method
SiPrefix Class Documentation
Mostra file
Open project: partkeepr/PartKeepr
calculateProduct()
public
method
Calculates the product for a given value.
public
calculateProduct
(
$value
) :
float
$value
float The value to calculate the product
return
float
The resulting value
public function calculateProduct($value) { return $value * pow($this->base, $this->exponent); }
SiPrefix
calculateProduct
getBase
getExponent
getPrefix
getSymbol
setBase
setExponent
setPrefix
setSymbol