We prove an ultrametric q-difference version of the MailletMalgrange theorem on the Gevrey nature of formal solutions of nonlinear analytic q-difference equations. Since degq and ordq define two valuations on C(q), we obtain, in particular, a result on the growth of the degree in q and the order at q of formal solutions of nonlinear q-difference equations, when q is a parameter. We illustrate t...