-
Notifications
You must be signed in to change notification settings - Fork 0
UnitConvert
Aydan Coskun edited this page Nov 29, 2019
·
1 revision
- Class name: UnitConvert
- Namespace:
public mixed $units = array('oz' => 28.349523125, 'lb' => 453.59237, 'lbs' => 453.59237, 'g' => 1, 'kg' => 1000, 'mm' => 1, 'in' => 25.4, 'cm' => 10, 'ft' => 304.8, 'm' => 1000, 'km' => 1000000, 'mi' => 1609344)
- Visibility: public
- This property is static.
public mixed $valid_unit_groups = array('g' => array('g', 'oz', 'lb', 'lbs', 'kg'), 'mm' => array('mm', 'in', 'cm', 'ft', 'm', 'km', 'mi'))
- Visibility: public
- This property is static.
boolean|float|integer UnitConvert::convert($src_unit, $dst_unit, $measurement, integer $exponent)
- Visibility: public
- This method is static.
- $src_unit mixed
- $dst_unit mixed
- $measurement mixed
- $exponent integer