开发者

how to express (5 x 5.4 10-3) in objective-c

开发者 https://www.devze.com 2023-04-06 19:35 出处:网络
I am trying to convert from meter to nautical miles. I need to multiply met开发者_StackOverflow中文版ers by 5.4x10-3 but I am not sure how express this number in objective-c.

I am trying to convert from meter to nautical miles. I need to multiply met开发者_StackOverflow中文版ers by 5.4x10-3 but I am not sure how express this number in objective-c.

Any help would be greatly appreciated,


Like this:

double factor = 5.4e-3;

This means: 5.4 times 10 to the power -3.

0

精彩评论

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