Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions