-
Floating point trouble
I have a variable called “workDur”, which is assigned the result of calculating floating point values (from different layer.inPoints/outPoints & prop.keyTime().
The workDur value is then assign to activeComp.workAreaDuration. But it ends up being a slightly higher number.
Any thoughts on why and how to solve?
// ..
alert(workDur); // Result: 1.2
activeComp.workAreaDuration = workDur;
alert(activeComp.workAreaDuration); // Result: 1.20000004768372
/Terje

