if (isNaN(area) || area <= 0 || isNaN(floors) || floors <= 0) { document.getElementById("result").innerHTML = "
يرجى إدخال بيانات صحيحة
"; return; }
let baseCost = area * floors * workType * material; let basementCost = basement * 500000; let totalCost = baseCost + basementCost;
document.getElementById("result").innerHTML = `
التكلفة التقديرية: ${totalCost.toLocaleString()} جنيه مصري
التفاصيل:
`;
}
This website uses cookies.