Skip to content

Comparison of string with number starting or ending with a space is incorrect #195

@adazem009

Description

@adazem009
Value a = 1.25;
Value b = " 1.25";
Value c = "1.25 ";

bool eq1 = (a == b); // false
bool eq2 = (a == c); // false

Expected behavior:

bool eq1 = (a == b); // true
bool eq2 = (a == c); // true

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority: MediumbugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions