开发者

how to express (5 x 5.4 10-3) 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜