Dynamic Component 'SIGN Function' Bug

This may be a minor bug, however, it can prove annoying. SketchUp’s Dynamic Component ‘SIGN()’ function incorrectly states values of 0, and -0. I noticed this error when SketchUp gave me a result of ‘-0’ and its ‘SIGN()’ function returned a value of -1 instead of 0. I did a bit more testing and found another error that would occur when an objects rotation was intervals of ‘360’/‘0’.

Work Around for -0 (not for rotational error): =IF((number)=-0,0,SIGN(number))

Test Block:
SIGN test.skp (83.7 KB)

1 Like

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.