vat_jp
vat_jp calculates consumption tax (incl. sales tax, VAT, excise duty, etc.) in Japan.
Usage
With vat_jp, you can know the price including VAT and the VAT rate at any point in time.
use ;
use vat_jp;
// To find out the current price including tax,
// pass the amount as the first argument and `None` as the second argument.
assert_eq!;
assert_eq!;
// When there was no VAT...
let mut today = from_ymd_opt.unwrap;
assert_eq!;
// VAT rate
assert_eq!;