1. A method for performing calculations in a character input mode of a 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.