如何在asp.ent中使用Math.Pow [英] How to use Math.Pow in asp.ent

查看:88
本文介绍了如何在asp.ent中使用Math.Pow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须计算功率概念。



v =(1)/(1 + i)pow(n-1)



如何使用math.pow计算这个

I have to calculate power concept.

v = (1)/ (1+i) pow(n-1)

how to calculate this using math.pow

推荐答案





你试过谷歌搜索吗? [ ^ ]是了解Pow功能的好链接。



即使你可以参考MSDN。希望这个链接能解决你的问题。



让我们知道你的担忧。



祝你好运。
Hi,

Have you tried to search in google for this ? this[^] is really good link to understand Pow function.

Even you can refer MSDN for that. Hope this links will resolved your issue.

Let us know your concern.

Best luck.


你有答案

double rate = 1 /(1 + double.Parse(TxtDiscountRate.Text.ToString()));

double discountrate = Math.Pow(rate,y - 1);
ya i got answer
double rate = 1 / (1 + double.Parse(TxtDiscountRate.Text.ToString()));
double discountrate = Math.Pow(rate, y - 1);


这篇关于如何在asp.ent中使用Math.Pow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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