8 Replies Latest reply on Apr 5, 2016 8:00 AM by Kevin Chandler

    Using INT() function with Global Variables

    John Smith

      IF I define a Global Variable and use its name in INT() function it returns a wrong number why?

      for example if

      “Length” = 1005 then

      int((“length” – 15)/110) should be 0 right?

      but solidworks returns 8? if I use the number instead of the Global Variable it works correctly though!