$amount_excluding_vat = 100; $vat_rate = 17; $amount_including_vat = $amount_excluding_vat + ($amount_excluding_vat * $vat_rate / 100);
return $amount_including_vat;