Skip to content

Simplify function transform a string to number, which cause some problems. #2152

@HK-SHAO

Description

@HK-SHAO

Why simplify function transform a string to number? I don't want to change the typeof value, because it may cause some problems.

math.simplify('f("0xffff")')
// args[0]: r {value: 123}

math.simplify('"1234"')
// {value: 1234}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions