Fix a type
float8 cannot store 0.1 exactly. Money belongs in numeric. Change the type and round what is already there.
task
Change the float column ledger.amt to numeric(12,2), rounding existing values.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
float8 cannot store 0.1 exactly. Money belongs in numeric. Change the type and round what is already there.
Change the float column ledger.amt to numeric(12,2), rounding existing values.