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

Fix scientific notation for zeros and options greeks #1859

Merged
merged 4 commits into from
May 24, 2022

Conversation

piiq
Copy link
Contributor

@piiq piiq commented May 23, 2022

resolves #1820
resolves #1858

This PR explicitly sets the formatting of the floats in options greeks table to 6 digits after the decimal point. 6 was chosen because it's the biggest number of digits that fits the table column for both positive and negative decimals.

@deeleeramone 👀

image

image

@piiq piiq added the bug Fix bug label May 23, 2022
@piiq piiq requested review from jmaslek and colin99d May 23, 2022 08:34
@piiq piiq changed the title Force options greeks table to show many zeros Fix scientific notation for zeros and options greeks May 23, 2022
@DidierRLopes DidierRLopes merged commit 46da0fc into main May 24, 2022
@DidierRLopes DidierRLopes deleted the fix-greeks-floats branch May 30, 2022 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug
Projects
None yet
2 participants