Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web UI displays FLOAT data poorly #399

Open
nodakai opened this issue Feb 19, 2025 · 0 comments
Open

Web UI displays FLOAT data poorly #399

nodakai opened this issue Feb 19, 2025 · 0 comments

Comments

@nodakai
Copy link

nodakai commented Feb 19, 2025

CREATE TABLE t0(f FLOAT, d DOUBLE);

INSERT INTO t0 VALUES (54321, 54321);

SELECT * FROM t0;

Image

IEEE754 single precision should not be this poor.

I believe this is a UI problem, psycopg2 can fetch data with the expected level of precision:

In [27]: cur.execute('SELECT * FROM t0')

In [28]: cur.fetchall()
Out[28]: [(54321.0, 54321.0)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant