Wednesday, May 1, 2024
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 3958  / 1 Year ago, thu, november 24, 2022, 5:09:22

I am using calc often (from the terminal) and I was wondering if there is a PI constant in there, predefined, somewhere?


More From » command-line

 Answers
0

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


[#40541] Friday, November 25, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
adedes

Total Points: 454
Total Questions: 114
Total Answers: 111

Location: Turks and Caicos Islands
Member since Fri, May 8, 2020
4 Years ago
;