Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
TotalBaseCalculator.php
Go to the documentation of this file.
1 <?php
7 
9 {
13  protected function roundAmount(
14  $amount,
15  $rate = null,
16  $direction = null,
17  $type = self::KEY_REGULAR_DELTA_ROUNDING,
18  $round = true,
19  $item = null
20  ) {
21  return $this->deltaRound($amount, $rate, $direction, $type, $round);
22  }
23 }
$amount
Definition: order.php:14
$type
Definition: item.phtml:13
deltaRound($price, $rate, $direction, $type=self::KEY_REGULAR_DELTA_ROUNDING, $round=true)
roundAmount( $amount, $rate=null, $direction=null, $type=self::KEY_REGULAR_DELTA_ROUNDING, $round=true, $item=null)