- Aug
- 2,831
- 149
In another thread,
@David Marcus noted the console calculator that he uses,
Console Calculator (CCalc) by ZoeSoft.
Ref: Console Calculator (CCalc) – ZoeSoft
Ref: start /wait not working in windows 10 in a batch file
I thought that we could share the console calculator that we each use.
I use two console calculators from TCC.
The first is CMath from the @Charles Dye EditKeys Plugin.
Another console calculator that I use is Qalculate!
QALC man page
Main Page: Qalculate! - the ultimate desktop calculator
Qalculate is also available as a GUI app.
Qalculate can be installed using the Microsoft console WinGet command.
Joe
@David Marcus noted the console calculator that he uses,
Console Calculator (CCalc) by ZoeSoft.
Ref: Console Calculator (CCalc) – ZoeSoft
Ref: start /wait not working in windows 10 in a batch file
I thought that we could share the console calculator that we each use.
I use two console calculators from TCC.
The first is CMath from the @Charles Dye EditKeys Plugin.
Code:
CMath — Evaluate a math expression at the command line.
To evaluate a math expression, type a colon followed by the expression. Then press Enter:
:1+2*3
The answer, 7, will be displayed below your expression.
It will also be saved to the environment variable ANS.
You can use this variable in your next expression:
:ans*2
Just remember that the value of ANS changes every time you use CMath.
After the second line, ANS will be 14, not 7.
CMath calls the same function that @EVAL uses internally.
You can use any operator or function that is legal in @EVAL:
:log(100)
set r=4:pi*r**2
:1492 =x
Another console calculator that I use is Qalculate!
QALC man page
Main Page: Qalculate! - the ultimate desktop calculator
Qalculate is also available as a GUI app.
Qalculate can be installed using the Microsoft console WinGet command.
Joe