I am using calc
often (from the terminal) and I was wondering if there is a PI constant in there, predefined, somewhere?
Ubuntu – Command line calc program and PI constant
calculatorcommand line
Related Question
- Command-Line Software-Recommendation Games – Command-Line Snake Game
- LibreOffice Calc – How to Recalculate Using Terminal Command
- Command Line Conversion – How to Convert Excel File to Calc File
- Ubuntu – Run a Command-line Program with an Environment Variable
- Ubuntu – Download mega.nz files from command line
Best Answer
If you are talking about calc from the apcalc package the constant Pi is defined like this:
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