Money rounding
Floats round badly for money. Keep cents as integers or numeric.
task
Sum of unit_cents*qty for order 1, in currency units, exact.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
Floats round badly for money. Keep cents as integers or numeric.
Sum of unit_cents*qty for order 1, in currency units, exact.