financial.price_plus_tax

Calculate price plus tax of a good or service given its price and a tax rate.

Functions

price_plus_tax(→ float)

Module Contents

financial.price_plus_tax.price_plus_tax(price: float, tax_rate: float) float
>>> price_plus_tax(100, 0.25)
125.0
>>> price_plus_tax(125.50, 0.05)
131.775