Skip to content

Control precision of floating point logging #36

@cossio

Description

@cossio

Suppose x is a float. I show it with:

@info x

Usually this prints x with full precision. Is there a way to control the formatting (e.g. number of digits) of floating points ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions