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

Allow to prevent round-off errors, caused by formatNum #7100

Merged
merged 2 commits into from
Nov 3, 2021

Commits on Apr 18, 2020

  1. GeoJSON.latLngToCoords: do not force default precision value

    Rely on default value defined in `formatNum` itself.
    Specify all related docs.
    Document `precision` argument of `latLngsToCoords` function.
    johndoe committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    79c9c17 View commit details
    Browse the repository at this point in the history
  2. Util.formatNum: allow to skip processing specifying false as precision

    This is most necessary for cases where `formatNum` is called indirectly,
    e.g. by GeoJSON functions.
    johndoe committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    4edde3c View commit details
    Browse the repository at this point in the history