Skip to content

Control the precision of numbers #1082

Discussion options

You must be logged in to vote

Suggested solution:
Although decimal numbers look fine in postgres with the correct number of decimals, the numbers are displayed via ldproxy with a lot more decimals. The solution seems to be to define the column as numeric(x, y) - for example numeric (10, 3). In this way, the number is rounded to 3 decimal places in the database and displayed correctly in ldproxy.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sverre-Iversen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant