I found the answer here: http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Eval
You have to use single quotes instead of double quotes when referencing fields inside of eval functions:
Table blah, “has a space” |eval tonumber('has a space')/2
... View more