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

Cap floating point precision on DisplayValue #32

Open
zekroTJA opened this issue May 16, 2023 · 1 comment
Open

Cap floating point precision on DisplayValue #32

zekroTJA opened this issue May 16, 2023 · 1 comment

Comments

@zekroTJA
Copy link

I've noticed that floating point values are sometimes represented with unnecessarily high precision. I think DisplayValue should either cap the precision to a fixed value or there should be a method on DisplayValue to do so.

image image

Here you can find the image which produces this issue.
https://dvbkeaxv2fqwj.cloudfront.net/images/DSC06403.jpeg

@kamadak
Copy link
Owner

kamadak commented Jun 4, 2023

Sure. I have not come up with a good API, though.

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

2 participants