[Solved] No #define PI in math.h (Web IDE) [Solution: it's M_PI]

There are some other threads about math.h but they were about forgetting to include it, but I do include it and I still get error: 'PI' was not declared in this scope.

Sure I could define it myself, but how can this be???

In Unix/Linux’s /usr/include/math.h it’s M_PI.


Thanks @psb777, M_PI works :+1:

I wonder why it seems impossible to have ONE standard - grrrrr :angry: