round off values for translateX/Y