WorksheetFunction.SqrtPi Method
Returns the square root of (number * pi).
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function SqrtPi ( _
Arg1 As Object _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Object
Dim returnValue As Double
returnValue = instance.SqrtPi(Arg1)
double SqrtPi(
Object Arg1
)
Parameters
Arg1
Type: System.ObjectNumber - the number by which pi is multiplied.
Return Value
Type: System.Double
Remarks
If number < 0, SqrtPi returns the #NUM! error value.