You are here

constant COMMERCE_ROUND_HALF_UP in Commerce Core 7

5 uses of COMMERCE_ROUND_HALF_UP
commerce_line_item_rules_action_info in modules/line_item/commerce_line_item.rules.inc
Implements hook_rules_action_info().
commerce_round in ./commerce.module
Rounds a number using the specified rounding mode.
commerce_tax_ui_install in modules/tax/commerce_tax_ui.install
Implements hook_install().
RulesDataUICommercePrice::inputForm in modules/price/commerce_price.rules.inc
Constructs the direct input form.
_commerce_line_item_update_rule_round_mode in modules/line_item/commerce_line_item.install
Given a Rule configuration, checks its element name to see if it is an action that requires a value for the new round_mode setting used in unit price manipulation actions.

File

./commerce.module, line 11
Defines features and functions common to the Commerce modules.

Code

define('COMMERCE_ROUND_HALF_UP', 1);