Kod
Sq.mtrs = ((height/1000) * (width/1000)) * qty
Lin.mtrs = qty * 0,002 * (height + width)
price for sq.mtrs = sq.mtrs * price per 1sq.mtr
price for lin.mtrs = lin.mtrs * rate
total price before VAT = price for sq.mtrs + price for lin.mtrs
Czyli:Lin.mtrs = qty * 0,002 * (height + width)
price for sq.mtrs = sq.mtrs * price per 1sq.mtr
price for lin.mtrs = lin.mtrs * rate
total price before VAT = price for sq.mtrs + price for lin.mtrs
Kod
metry kwadratowe = ((wysokość/1000) * (szerokość/1000)) * ilość sztuk
Serdecznie dziękuję za wszelką pomoc.