Skip to content

Feature request: add a way to set the format of floats and doubles in the JSON output #894

Closed
@t-cadet

Description

@t-cadet

The idea is to provide a way for Crow users to set the format of floating-point numbers in the JSON output to best fit their use case.

For example in my case having less significant digits:

  • improves readability
  • makes the output less sensitive to small changes in computations
  • makes diffing outputs for tests more robust

Related: #891

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionThe viability / implementation of the issue is up for debatefeatureCode based project improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions