Probably a super simple one this.
Basically, I'm saving the price difference between two products.
In the dataLayer it's a string but it would be handy to save this as a number so I can use it for metrics.
How can I convert the value and save it to an eVar? I've tried the below, but it does absolutely nothing!
var priceDifference = _satellite.getVar("priceDifference");
s.eVar77 = parseFloat(priceDifference);
I stuck with saving the value to an eVar as I couldn't achieve what I was after with the numeric or currency events.