This is probably because A1 was formatted as text at some time, and despite entering a formula it keeps on treating it as text.
Delete the formula.
Right click and format the cell with a number format.
Enter a number in the cell.
Now enter your formula again.