Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.VATPercent

Version: - double  

Summary

Returns the VAT percent, e.g. "25"

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDouble("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.VATPercent")

Check if tag has a value

@if(!double.IsNullOrWhiteSpace(GetDouble("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.VATPercent"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ double storedTag = GetDouble("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.VATPercent"); }

Outputting the template tag

<!--@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.VATPercent-->

Check if double has a value

<!--@If Defined(@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.VATPercent)--> Let's output this tag here: <strong><!--@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.VATPercent--></strong> <!--@EndIf(@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.VATPercent)-->