That was what i was taught too, except that liquid water has a higher density, not lower, compared with ice.
The specific gravity of water goes down until 39 or 40 F, 4 C. Then it goes slightly up until 32F or 0C where it stabilizes.
Note to self: When doing technical writing at 3 AM, expect to make glaring mistakes.