Skip to content

Precision loss when comparing large decimal values (99999999999999.99 → 9999999999999.98) #80

Description

@MinKhantMaw

Description

When entering a large decimal number like: 99999999999999.99

it is unexpectedly converted to: 9999999999999.98 This causes incorrect validation and comparison results.

Expected Behavior

The value 99999999999999.99 should be preserved exactly and compared correctly without any precision loss.

Actual Behavior

The value is converted to 9999999999999.98, leading to wrong validation results.

Steps to Reproduce

  1. Enter 99999999999999.99 as input
  2. Trigger validation (on blur / submit)
  3. Observe the value changes to 9999999999999.98

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