In 10. power / calculation / Power calculations

2020-01-29 18:09发布

问题:

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

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

the Excel code is "10^1.5"

回答1:

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

double res=pow(10, 1.5);