changing the precission of doubles