Command Line Calculator Wiki
Brought to you by:
ryanshillington
A super-duper simple command line calculator that is fast and easy to use. Command Line Calculator supports most common mathematical expressions such as sin, cos, tan, log, exp, random number generation, etc.
A complete list of functions can be found here. Using this to do complex math in batch files is explained here.