Change volume units to be in lbs/kg closes #193

This commit is contained in:
Nabeel Shahzad
2018-02-20 14:07:33 -06:00
parent 463de8d7e7
commit 653711fa96
9 changed files with 144 additions and 11 deletions

View File

@@ -19,6 +19,15 @@ class Distance extends \PhpUnitsOfMeasure\PhysicalQuantity\Length implements Arr
return (string) round($value, 2);
}
/**
* Return value in native unit as integer
* @return array
*/
public function toInt()
{
return $this->toArray();
}
/**
* For the HTTP Resource call
*/