You are here

6 calls to commerce_currency_decimal_to_amount() in Commerce Core 7

commerce_order_update_7100 in modules/order/commerce_order.install
Loads and resaves all the products on the site, updating the default price field to have proper component price amount values.
commerce_order_update_7101 in modules/order/commerce_order.install
Loads and resaves all the line items on the site, updating the unit price field to have proper component price amount values.
commerce_payment_order_transaction_add_form_payment_terminal_validate in modules/payment/includes/commerce_payment.forms.inc
Validation callback for the payment terminal to check the amount data type and convert it to a proper integer amount on input.
commerce_price_field_widget_validate in modules/price/commerce_price.module
Validate callback: ensures the amount value is numeric and converts it from a decimal value to an integer price amount.
commerce_price_handler_filter_commerce_price_amount::query in modules/price/includes/views/handlers/commerce_price_handler_filter_commerce_price_amount.inc
Add this filter to the query.
_commerce_price_rules_data_ui_element_validate in modules/price/commerce_price.module
Validates data entered via a price input form in a Rules condition or action.