Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

As you can see in the screenshot below, Mathematica is simply not evaluating any quantities. It is simply listing them as I wrote them. Could anybody give me a pointer as to why this may be?

enter image description here

share|improve this question

closed as off-topic by RunnyKine, Rojo, ubpdqn, ciao, m_goldberg Mar 31 '14 at 12:27

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – RunnyKine, Rojo, ubpdqn, ciao, m_goldberg
If this question can be reworded to fit the rules in the help center, please edit the question.

I have tried to reproduce your posted results in V9.0.1 running on OS X, but could not. I get the expected results. –  m_goldberg Mar 30 '14 at 1:43
is there any reason you are using this mode to input the quantity? –  olliepower Mar 30 '14 at 17:18
Just a longshot, but when I have weird stuff that doesn't seem to be working that really should, I can often fix the problem by either killing the Kernel (Evaluation/Quit Kernal) or by quitting out of Mathematica and restarting it. Not an answer, just a fix to weird problems. –  Andy Mobley Mar 30 '14 at 17:27
Thanks @AndyMobley, I just killed and restarted Mathematica and things seem to be working as expected again. I'll try that immediately next time –  Aron Mar 31 '14 at 7:55

2 Answers 2

I just restarted Mathematica and things are working normal again.

share|improve this answer

You should not preceed your code with an '=' sign. Try exactly this code.

Quantity[2, "miles"] + Quantity[4, "miles"]
share|improve this answer
The OP used Ctrl+= to enter his input. –  m_goldberg Mar 30 '14 at 16:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.