Well your fomula is wrong. Why don't you make it like it is written in the question and see if that works? As for formatting to 3 decimal places check this out.
...