Demo 1
Demo 2

Examples of notation
Five raised to the third power = pow(5,3) = 125
Square root of 4 = pow(4,1/2) = 2
Cube root of 27 = pow(27,1/3) = 3
Fourth root of 16 = pow(16,1/4) = 2
Sine of 1/2 π = sin(1/2*PI) = 1
Binary 101 = 0b101 = 5
Octal 402 = 0402 = 258
Hexadecimal 1F = 0x1F = 31
Exponentiation 2 * 1000 = 2e3 = 2000
Exponentiation 3 * 0.01 = 3e-2 = 0.03

适用浏览器:360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。

来源:Gxl网-jquery插件