WorksheetFunction.SqrtPi Method (Excel)

Returns the square root of (number * pi).

Syntax

expression. SqrtPi( _Arg1_ )

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data Type Description
Arg1 Required Variant Number - the number by which pi is multiplied.

Return Value

Double

Remarks

If number < 0, SQRTPI returns the #NUM! error value.

See also

WorksheetFunction Object