Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def excluding_vat_price(price):
- vatPrice = ((price * 15) / 115)
- priceWithoutVat = price - vatPrice
- return -1 if price == 0 else round(priceWithoutVat, 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement