Skip to content

unit("m ^ (1)") throws an error #3620

@mlameiCT

Description

@mlameiCT

The issues section is used only for bug reports. Please use the Discussions section to ask questions and share ideas and suggestions.

Describe the bug
wrapping the power in brackets brakes unit() parser

To Reproduce

  • try unit("m ^ (1)")

will throw:

SyntaxError: In "km ^ (1)", "^" must be followed by a floating-point number

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions