The numerical computation problem which arises in the design of state feedback controller for nonlinear control systems is studied. The Lyapunov function involved in the control system is a nonsmooth function, namely max-type function. The specific steps and design methods of the piecewise constant feedback control system are provided. The validity of the design method is verified through simulation results.