Stability of numerical solution for partial differential equations with piecewise constant arguments