在10.功率/计算/功率计算 [英] In 10. power / calculation / Power calculations

查看:123
本文介绍了在10.功率/计算/功率计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发用于计算燃料的应用...

i am working on an apps for calculating fuel...

我需要知道如何在10中加数字吗?

i need to know how i can power a number in 10?

Excel代码为"10 ^ 1.5"

the Excel code is "10^1.5"

推荐答案

如果在XCode中是指,则必须#include <math.h>,然后可以使用pow:

If you mean in XCode, you have to #include <math.h> and then you can use pow:

double res=pow(10, 1.5);

这篇关于在10.功率/计算/功率计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆