round() and trunc() also have the virtue that they already have versions
for type numeric.  If we keep the operators then we'll be right back
with the complaint that was lodged the other day about exponentiation,
namely unexpected precision loss for numeric inputs:

regression=# select 12345678901234567890.55 %;
       ?column?
----------------------
 1.23456789012346e+19
(1 row)

I don't even grasp what unary modulo actually means???

Chris

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to