Skip to content

HEX (0x) or binary (0b) value support #236

@mocakturk

Description

@mocakturk

Library does not support hex number (e.g. 0xABC) or binary number (e.g. 0b1101).
I need to replace hex/binary numbers using regular expression before evaluation.

Here example expression:
"4 + 0xA1"

The result should be 165.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions