Hi,
works correctly as it should.
What do you expect?
Or are you confused by the near zero numbers in exponential notation? (e.g. values like 1.2345e-9)
Due rounding errors the result can't be exactly 0/0 again, but they are very near to 0.
Maybe add a rounding like this, then the results should be always 0.0.
|
Quellcode
|
1
|
calc(layer[info].html, ' h=' + roundval(h,1) + '[br] v=' + roundval(v,1) );
|
Best regards,
Klaus