Skip to content

Failing to compare big numbers #107

@MatejTymes

Description

@MatejTymes

This assertions should fail, but they don't:

JSONAssert.assertEquals(
"{ \"value\": 1234567890.1234567890123456 }",
"{ \"value\": 1234567890.1234567000000000 }",
true
);
JSONAssert.assertEquals(
"{ "value": 12345678901234567890123456 }",
"{ "value": 12345678901234567800000000 }",
true
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions