Evaluate variable expressions with whole numbers