Approximating rings of integers in number fields