How can I use PI in objective-C? How to write coding if I want to do
(36.12 * pi) / 180?
Use the M_PI constant. Your code will look like this:
(36.12 * M_PI)/180;
You can use constant M_PI
M_PI