Macro to evaluate selection (Calculator)

This macro works as a calculator. It uses eval() method to evaluate selected
text as an expression. The result is displayed and copied to the clipboard.
Functions: pow(), sqrt(), exp(), log(), abs(), sin(), cos(), tan(), asin(), acos(), atan(), atan2(), ceil(), floor(), round(), random(), min(), max()
Constants: PI, E, LN2, LN10, LOG2E, LOG10E, SQRT1_2, SQRT2
See JScript or JavaScript reference (Math object) for details.
Examples of expressions:
(4*3.1-3.4)/1.5+6
7 % sqrt( pow (5,2) - 9*sin(PI/2) )
0xff * 1e-3
111111111*111111111==12345678987654321
a=1; b=3; a/b

Your Download will start in 5 seconds...

EvaluateSelectionCalculator.jsee
File Size2.9 KB
DateOctober 21, 2006
Downloads1519
LicenseFreeware