Rounds a number to the nearest integer or to the nearest multiple of significance