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

format: fix f precision when exponent > 0 #148

Commits on Nov 15, 2019

  1. format: fix precision when exponent > 0

    Previously we would take only precision without also considering the
    exponent, meaning you would have scenarios like 200 being formatted with
    `%.2f` as just `200` as `x.exp` would be 2, and `x.Precision()` would be 1.
    kjgorman committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    8d0784f View commit details
    Browse the repository at this point in the history