Skip to main content

Crate kitchen_remodeling_cost

Crate kitchen_remodeling_cost 

Source
Expand description

Kitchen remodeling cost planner.

Split a kitchen remodel budget by line item, then add sales tax, a contingency reserve and a permit allowance. All arithmetic is done in integer cents so totals match to the cent.

use kitchen_remodeling_cost::{estimate, Options};
let r = estimate(60000.0, &Options { permit: 1500.0, ..Options::default() }).unwrap();
assert_eq!(r.total, 74298.0);

More kitchen remodel planning: Kitchen Remodeling Bellevue

Structs§

Breakdown
Error
Errors for invalid input.
Line
Options
Calculation options.
Preset
A Cost vs Value preset (Pacific region averages).

Constants§

DEFAULT_CONTINGENCY_RATE
DEFAULT_TAX_RATE
LINE_ITEMS
A default line item: key, label, share of the construction budget.
PRESETS
PRESET_SOURCE
SHARE_SOURCE

Functions§

estimate
Forward estimate from a construction (pre-tax) cost.
estimate_preset
Estimate a preset. permit = None keeps the preset allowance.
format_table
Plain-text itemised table.
money
$12,345.67
normalise_shares
Defaults merged with overrides, normalised to sum to 1.
preset
Look up a preset by key.
split_budget
Split an all-in budget (tax, reserve and permits included) into line items.