Go with sledgehammer approach lol:
$Discount = int(<Actinic:Variable Name="DiscountInfo" encoding="perl" selectable="false"/>);
or
$Discount = intval(<Actinic:Variable Name="DiscountInfo" encoding="perl" selectable="false"/>);
or
$Discount = strval(<Actinic:Variable Name="DiscountInfo" encoding="perl" selectable="false"/>);
$Discount = int(<Actinic:Variable Name="DiscountInfo" encoding="perl" selectable="false"/>);
or
$Discount = intval(<Actinic:Variable Name="DiscountInfo" encoding="perl" selectable="false"/>);
or
$Discount = strval(<Actinic:Variable Name="DiscountInfo" encoding="perl" selectable="false"/>);
Comment