Trouble converting negative integers to positive values <360
Hello, I'm looking to create an expression that, when/if a value becomes a negative integer, 360 is added to it so that it becomes a positive integer <360. For example, if a certain value is -17 then the displayed value is 343. I'm beginning with this expression. It works fine, except when the slider goes into negative numbers, which, the way things are designed, it has to do sometimes.
val1 = thisComp.layer("Controls").effect("Heading Slider")("Slider")/388.89 val2= val1*100 Math.round(val2)
The slider is set to values 1-1400, hence the /388.89. Much appreciate the help! I'm still an expression newbie.
