Click here to Skip to main content
15,867,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good Day everyone,
In here i just thinking that my country Malaysia gonna release Goverment Services Tax(GST) or VAT. I m Thinking that how we gonna do a calculation if everything we want to buy will be charge with 6% from the actual selling price.

Means if i buy Rice with RM10 will be charge 6% more.
so the Total Price will be GST= RM10+6%.

I am asking an expert to make it clear to me because i am a bit confused here, because our country are new in this situation. i just wan to make it clear about the calculation.


Thank You
Posted

1 solution

Depends - in the UK we have VAT (at 20%) but there are exceptions for "non-luxury" goods, such as food. You can't just assume that any VAT / GST will be a flat rate - and for gawds sake don't hard code it as
VB
TotalPrice = BasePrice * 1.06
Because it will change (upwards, usually) and it's a lot easier in the long run to keep a "VAT RATE" column or table and generate the "real value" from that.

For example, if all your goods are VATable, but postage and packing isn't then you need to have two VAT Rates (1.06 and 1.00) and apply them both separately.

Look at your local law - tax departments generally try to help (and mostly fail) but do get extremely upset if you start doing the wrong calculations! See if they have any websites to explain it in "plain language".
 
Share this answer
 
v2
Comments
JOE Heart Under Blade 20-Mar-15 5:04am    
why the formula like this TotalPrice = BasePrice * 1.06?

not like this TotalPrice = BasePrice * 0.06?
OriginalGriff 20-Mar-15 5:52am    
:laugh:
Becasue it's "TOTAL PRICE":
RM10 + 6%
10 * 0.06 == 0.06
10 * 1.06 == 10.6
JOE Heart Under Blade 21-Mar-15 1:41am    
haha.. thanks for the tips... it's great.
OriginalGriff 21-Mar-15 4:08am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900