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

Significant Figures Truncate Trailing Zeros #197

Open
VanHulleOne opened this issue Jul 6, 2023 · 1 comment
Open

Significant Figures Truncate Trailing Zeros #197

VanHulleOne opened this issue Jul 6, 2023 · 1 comment

Comments

@VanHulleOne
Copy link

Currently, EngineeringPaper.xyz truncates trailing zeros after the decimal even though they should count as significant figures. i.e. if significant figures is set to 4 and you have 1/10 as a result you get 0.1 instead of 0.1000. Personally, I am on the fence about what behavior I would prefer.

Con of showing the trailing zeros: adds a little clutter.

It is a little confusing if you use local sig figs to know how much your result has been rounded (you have to remember each local sig fig setting since it isn't displayed). I was also confused when I changed the sig fig setting and my result did not change until I noticed this issue. Because of these two reasons I am leaning slightly more toward showing the trailing zeros but could be convinced otherwise.

@mgreminger
Copy link
Owner

Yes, the automatic setting will remove insignificant trailing zeros. To preserve insignificant trailing zeros, use the "Fixed" option as shown below:

Screenshot from 2023-07-07 07-44-34

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