Share via


WorksheetFunction.SqrtPi Method

Excel Developer Reference

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