Paul Ramsey <pramsey@cleverelephant.ca> writes:
> What surprises do you think would come from a
> round(real, integer) returns real
> function?
People might expect that rounding to, say, 6 digits produces an exact
decimal answer. Even if you're not exceeding 6 digits overall, it's
unlikely that the answer is *exact*, if it's represented as a float.
regards, tom lane