If \( f(x) = \begin{cases} \frac{\sin |x|}{x}, & \text{for } [x] \ne 0 \\ 0, & \text{for } [x] = 0 \end{cases} \) where, \([x]\) denotes the greatest integer less than or equal to \(x\), then \(\lim_{x \to 0} f(x)\) is equal to