Use of plus sign "+" is adding text, not performing mathematical addition
I'm working on a little project to display recorded data from quadcopter flights on video and am very new to writing expression code. I have the fundamentals working as desired, but I am having issues while trying to add "fine tuning" capabilities such as biasing the recorded data. To try and achieve biasing, I created a slider effect "HeadingAdjustment" to set the desired bias value and used the following expression to try and add that bias value to the data pulled from the "DataSource" csv file:
var Heading = (footage(DataSource).dataValue([21, DTime]).toFixed(0) + thisComp.layer("Globals").effect("HeadingAdjustment")("Slider"));Lets say the recorded data is "95" and the HeadingAdjustment slider is set to 10. I want the data displayed to show "105", but it shows "9510" ("10" appended to "95") instead.
How do I get the variable definition to perform mathmatical addition rather than adding text / strings?
Thank you!
