SilverCommerce\TaxAdmin\Helpers\MathsHelper::round_down
Rounds up a float to a specified number of decimal places (basically acts like ceil() but allows for decimal places)
Signature
public function round_down(float
$value,
[integer
$places = 0] )
Parameters
$value
— float- Float to round up
$places
— integer- the number of decimal places to round to
Returns
- float