I tried stepping on a tile with 0 on it, but it ended up being a mine.
Yep, it's because the number on the tile tells you how many mines there is AROUND. So if a mine is surounded by safe tiles, it's gonna say 0. A bit tricky, I know ^^'