Chancellor George Osborne inspires Perl Program
Archive - Originally posted on "The Horse's Mouth" - 2010-06-22 16:06:29 - Graham EllisFrom today's budget speech ...
$oldvat = 1.175;
$newvat = 1.2;
printf ("%8s %8s %8s\n","net","old","new");
for ($amount=60; $amount<90; $amount++) {
next if ($amount%2 and $amount%5);
$oldgross = $amount * $oldvat;
$newgross = $amount * $newvat;
printf ("%8.2f %8.2f %8.2f\n",$amount,$oldgross,$newgross);
}
__END__
The Chancellor has announced a rise in VAT from 17.5% to 20%, from 4th January next. We quote our course prices VAT exclusive, so the prices of those will naturally adjust (although as we've not changed our prices in several years, now may be the time to do so). However, hotel room rates are quoted net, and if we were to leave the 90 pound charge unchanged (for example) we would be about 2 pounds out of pocket on each let.
The calculation / decision to be made on room prices 2011 isn't even as simple as ensuring the same income; we also need to consider whether our suppliers will increase their prices, or swallow the VAT increase; if they swallow it (perhaps because they in turn pay VAT) then we might find our net expenses on that part of the business decreasing.
And we need to consider the tidiness of the figures too. 17.5% has been a nightmare we've got use to, with awkward net or gross figures on transactions. However, the rise to a cleaner 20% may make it much easier for us to keep both net and gross prices clean.
No need for any decision yet - I should ask Lisa and Chris for their views, and wait to see what others are saying, and whether our suppliers who quote VAT inclusive do indeed push up all the prices. This could turn out - for the business person - to be a big non-event, or it might stoke inflation.
perl forvat
net old new
60.00 70.50 72.00
62.00 72.85 74.40
64.00 75.20 76.80
65.00 76.38 78.00
66.00 77.55 79.20
68.00 79.90 81.60
70.00 82.25 84.00
72.00 84.60 86.40
74.00 86.95 88.80
75.00 88.12 90.00
76.00 89.30 91.20
78.00 91.65 93.60
80.00 94.00 96.00
82.00 96.35 98.40
84.00 98.70 100.80
85.00 99.88 102.00
86.00 101.05 103.20
88.00 103.40 105.60
Dorothy-2:j10p grahamellis$