Assuming that snippet is right, you're doing an integer division of 35/180 = 0. -- gl ----- Original Message ----- From: Koby Zalmanson To: ode@q12.org Sent: Sunday, April 20, 2003 4:22 PM Subject: [ODE] M_PI problem When I tried to use M_PI in some of the calculations of an angle the calculation was 0 for example: 35/180*M_PI do you know why?