Hi,
I have just been reading the GT::Template syntax guide for Links SQL and I am a little stuck on the math operators.
I am trying to show 5% less of varaiable 'cost' to 2 decimal places. Cost is a numerical variable.
i.e. <%cost%> is the normal product cost but I want to add a second value below it as a sale price, hence why I would like Links SQL to calculate the 5% dicount automatically.
Hope that makes sense.
Regards
Alex
Indigo Clothing is a t-shirt printing company based in the UK.
Indigo Clothing | Promotional Clothing | T-Shirt Printing | Embroidery
I have just been reading the GT::Template syntax guide for Links SQL and I am a little stuck on the math operators.
I am trying to show 5% less of varaiable 'cost' to 2 decimal places. Cost is a numerical variable.
i.e. <%cost%> is the normal product cost but I want to add a second value below it as a sale price, hence why I would like Links SQL to calculate the 5% dicount automatically.
Hope that makes sense.
Regards
Alex
Indigo Clothing is a t-shirt printing company based in the UK.
Indigo Clothing | Promotional Clothing | T-Shirt Printing | Embroidery