Evaluate a text selection as math expression