2 added 6 characters in body
source | link

MATLAB, 4 bytes (or 0 bytes)

eval s

Pretty simple really. MATLAB will evaluate the string s you pass it, and voila. For example the following operators work: * / + - ^ sqrt() min() max(). Well pretty much anything that you can dothink of.

Heck you can even print Hello World! if you want - eval 'disp(''Hello World!'')'.

To be honest given that MATLAB is already a calculator, you can call it 0 if you omit eval and simply type in the string:

>> 8/2
ans =
     4

MATLAB, 4 bytes (or 0 bytes)

eval s

Pretty simple really. MATLAB will evaluate the string s you pass it, and voila. For example the following operators work: * / + - ^ sqrt() min() max(). Well pretty much anything that you can do.

Heck you can even print Hello World! if you want - eval 'disp(''Hello World!'')'.

To be honest given that MATLAB is already a calculator, you can call it 0 if you omit eval and simply type in the string:

>> 8/2
ans =
     4

MATLAB, 4 bytes (or 0 bytes)

eval s

Pretty simple really. MATLAB will evaluate the string s you pass it, and voila. For example the following operators work: * / + - ^ sqrt() min() max(). Well pretty much anything that you can think of.

Heck you can even print Hello World! if you want - eval 'disp(''Hello World!'')'.

To be honest given that MATLAB is already a calculator, you can call it 0 if you omit eval and simply type in the string:

>> 8/2
ans =
     4
1
source | link

MATLAB, 4 bytes (or 0 bytes)

eval s

Pretty simple really. MATLAB will evaluate the string s you pass it, and voila. For example the following operators work: * / + - ^ sqrt() min() max(). Well pretty much anything that you can do.

Heck you can even print Hello World! if you want - eval 'disp(''Hello World!'')'.

To be honest given that MATLAB is already a calculator, you can call it 0 if you omit eval and simply type in the string:

>> 8/2
ans =
     4