Skip to main content

tax_amount

Function tax_amount 

Source
pub fn tax_amount(base: MinorUnits, rate: Decimal) -> MinorUnits
Expand description

Compute tax amount in minor units: base * rate / 100.