--- import SiteLayout from "../layouts/SiteLayout.astro"; const rows = Array.from({ length: 20 }, (_, index) => index + 1); const gstRate = 0.18; const rates = { single: 2200, double: 2700, lunch: 200, dinner: 200, }; const withGst = (amount: number) => amount + amount * gstRate; const currency = new Intl.NumberFormat("en-IN", { style: "currency", currency: "INR", maximumFractionDigits: 0, }); ---

Utility

Basic Calculator Guest House Cost Estimate

Number of People

Use the slider to set up the estimate table.

N = 5
Single Occupancy
{currency.format(withGst(rates.single))}
Double Occupancy
{currency.format(withGst(rates.double))}
Lunch Per Person
{currency.format(withGst(rates.lunch))}
Dinner Per Person
{currency.format(withGst(rates.dinner))}

Estimate

Rates include 18% GST. Lunch and dinner are counted twice for double occupancy.

{ rows.map((row) => ( )) }
Name Nights Single Occupancy Double Occupancy Lunch Dinner
Total Cost {currency.format(0)}

For 5 people.

These numbers are indicative and not binding.