I want to compare equality up to a certain number of digits past the decimal point. This method does exactly that.