Skip to content

Scientific/engineering not’n formatting fixes#1380

Merged
rich-iannone merged 12 commits into
masterfrom
sci-formatting-fixes
Jul 20, 2023
Merged

Scientific/engineering not’n formatting fixes#1380
rich-iannone merged 12 commits into
masterfrom
sci-formatting-fixes

Conversation

@rich-iannone
Copy link
Copy Markdown
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
Copy Markdown

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