Skip to content

Scientific/engineering not’n formatting fixes #1380

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

Merged
merged 12 commits into from
Jul 20, 2023

Conversation

rich-iannone
Copy link
Member

This fixes some pernicious problems with scientific and engineering notation formatting. Dropping trailing zeros would not work as advertised and, for some types of numbers (between 0-10 with many decimal digits), it would even error.

This PR is about fixing those problems and ensuring that these formatting functions have the drop_trailing_decimal option. Suitable tests will be added to cover the changes.

@netlify
Copy link

netlify bot commented Jul 20, 2023

Deploy Preview for quarto-gt-examples failed.

Name Link
🔨 Latest commit 207b2f6
🔍 Latest deploy log https://app.netlify.com/sites/quarto-gt-examples/deploys/64b8a3aaff30aa0008c4ea5d

@rich-iannone rich-iannone marked this pull request as ready for review July 20, 2023 03:30
@rich-iannone rich-iannone merged commit fcb930a into master Jul 20, 2023
@rich-iannone rich-iannone deleted the sci-formatting-fixes branch July 20, 2023 03:30
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

Successfully merging this pull request may close these issues.

1 participant