The thermometer I had to throw out was the kind that was weighted at the bottom. (The bottom came off and I thought mercury got into my tank, but it didn't. But I threw it out anyway)
The new thermometer hangs inside the tank.
It isn't the digital type. I haven't had any luck with those. I'll try the glass with ice and water like someone suggested.