Ecom:DiscountValidationResult.Percent
Version: 9.9.0 doubleSummary
Returns percent amount.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetDouble("Ecom:DiscountValidationResult.Percent")
Check if tag has a value
@if(!double.IsNullOrWhiteSpace(GetDouble("Ecom:DiscountValidationResult.Percent"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
double storedTag = GetDouble("Ecom:DiscountValidationResult.Percent");
}
Outputting the template tag
<!--@Ecom:DiscountValidationResult.Percent-->
Check if double has a value
<!--@If Defined(@Ecom:DiscountValidationResult.Percent)-->
Let's output this tag here: <strong><!--@Ecom:DiscountValidationResult.Percent--></strong>
<!--@EndIf(@Ecom:DiscountValidationResult.Percent)-->