1. A method for performing calculations in a character input mode of an electronic device, comprising: receiving character input in the character input mode and displaying input characters in a character input window; determining whether a preset calculation enabling condition is satisfied; checking whether an arithmetic expression is present in the displayed input characters; evaluating the arithmetic expression when the preset calculation enabling condition is satisfied; and displaying a result of the evaluation.
1. A method for performing calculations in a character input mode of an electronic device, comprising: receiving character input in the character input mode and displaying input characters in a character input window; determining whether a preset calculation enabling condition is satisfied; checking whether an arithmetic expression is present in the displayed input characters; evaluating the arithmetic expression when the preset calculation enabling condition is satisfied; and displaying a result of the evaluation. 3. The method of claim 1 , wherein checking whether an arithmetic expression is present comprises determining whether a portion of the displayed input characters selected by a drag gesture is an arithmetic expression.