开发者

I want to use PI in my code of iphone SDK

开发者 https://www.devze.com 2023-02-18 02:53 出处:网络
How can i use开发者_Python百科 PI in the objective-C ?? How to write coding if i want to do (36.12*pi)/180 ?Use the constant M_PI. Your code would look like this:

How can i use开发者_Python百科 PI in the objective-C ?? How to write coding if i want to do

(36.12*pi)/180 ?


Use the constant M_PI. Your code would look like this:

(36.12 * M_PI)/180;


You can use the constant M_PI

0

精彩评论

暂无评论...
验证码 换一张
取 消