use the round function
=ROUND(A1,3)