Calculate the land transfer taxes in Toronto.
This calculator does not take into account first-time home buyer rebates.
use rust_decimal_macros::*;
fn main() {
let purchase_price = dec!(2000000);
let tax = toronto_land_transfer_tax::tax(purchase_price).unwrap();
println!("Land transfer tax on a home bought for {}: {}", purchase_price, tax);
}