Command line calc program and PI constant

Solution 1:

If you are talking about calc from the apcalc package the constant Pi is defined like this:

pi() 

note, the parentheses are used even though the function does not take any arguments.

not too clear for the GUI desktop calculator,gcalctool, either, which is: Ctrl+P