VBA,Excel中的平方根函数 [英] Square root function in VBA, Excel
本文介绍了VBA,Excel中的平方根函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
VBA excel中的平方根函数是什么?我尝试了SQRT()和Root(),但都没有用,我的Excel版本是2013年.
What is the square root function in VBA excel? I tried SQRT() and Root() but none of them are working, my Excel version in 2013.
推荐答案
使用名称奇怪的
VBA.Sqr(n)
其中 n
是您要计算平方根的数字. VBA.
前缀是可选的,但有助于在 VBA
与您可能已引用的任何其他库之间进行区分.
where n
is your number for which you want the square root computed. The VBA.
prefix is optional, but it helps descriminate between VBA
and any other library you might have referenced.
这篇关于VBA,Excel中的平方根函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文