Parametric design in MoI?

 From:  Psygorn (DRILLBIT)
7713.905 In reply to 7713.904 
Hello James,

Thank you for your reply,

Could you help me here:

Why does it seem that the floor function doesn't work properly?



I don't think for the value of A = 117 it should display -1!

How can I get 1 for values of A from 0 to 180, and -1 for values of A from 181 to 360?