Question : I’m currently writing unit tests for a stored procedure that calculates the amount of taxes and the tax […]

Question : Try this: create table test (f float); insert into test values (330.0); commit; select (8 + 330.0/60)::int; –14 […]

Question : I’m running a query using PostgreSQL 9.6.6 and when querying: SELECT * FROM table WHERE threshold_value < VALUE […]

Question : Let me state the obvious fist: I completely understand that floating point types cannot accurately represent decimal values. […]

  • 1
  • 2