<?php
use Phospr\Fraction;
$fraction = new Fraction(4, 5);
echo $fraction; // 4/5
<?php
use Phospr\Weight;
use Phospr\Uom;
$lbs = Weight::LB(1, 2);
$ozs = $lbs->to(Uom::OZ());
echo $ozs; // 8 OZ