1. A method for performing calculations of an electronic device, comprising: receiving character input and displaying input characters in a character input window; checking whether an arithmetic expression is present in the displayed input characters; calculating the arithmetic expression when the arithmetic expression is present in the displayed input characters; and displaying a result of the calculation.
1. A method for performing calculations of an electronic device, comprising: receiving character input and displaying input characters in a character input window; checking whether an arithmetic expression is present in the displayed input characters; calculating the arithmetic expression when the arithmetic expression is present in the displayed input characters; and displaying a result of the calculation. 4. 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.