7 calls to Calculator::multiply() in Commerce Core 8.2
- BuyXGetY::buildConfigurationForm in modules/
promotion/ src/ Plugin/ Commerce/ PromotionOffer/ BuyXGetY.php - Form constructor.
- BuyXGetYTest::setUp in modules/
promotion/ tests/ src/ Kernel/ Plugin/ Commerce/ PromotionOffer/ BuyXGetYTest.php - CalculatorTest::testArithmetic in modules/
price/ tests/ src/ Unit/ CalculatorTest.php - @covers ::add @covers ::subtract @covers ::multiply @covers ::divide @covers ::compare @covers ::trim
- MinorUnitsConverter::toMinorUnits in modules/
price/ src/ MinorUnitsConverter.php - Converts the given amount to its minor units.
- PercentageOffTrait::buildConfigurationForm in modules/
promotion/ src/ Plugin/ Commerce/ PromotionOffer/ PercentageOffTrait.php - Price::convert in modules/
price/ src/ Price.php - Converts the current price to the given currency.
- Price::multiply in modules/
price/ src/ Price.php - Multiplies the current price by the given number.