https://bugs.freedesktop.org/show_bug.cgi?id=70902

--- Comment #14 from Regina Henschel <[email protected]> ---
(In reply to comment #13) 
> 
> Incidentally, is there an way to call the pi() function for use in User
> Defined functions?

pi is a predefined const in Basic, no need to use the Calc pi() function. Both
have the same double precision.

In general, access to Calc functions is via service
"com.sun.star.sheet.FunctionAccess"

Example for function pi():

dim oFunctionAccess as variant
oFunctionAccess = createUnoService( "com.sun.star.sheet.FunctionAccess" )
dim myCalcPI as double
Dim args() As variant
myCalcPI = oFunctionAccess.callFunction( "PI",args())

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to