Skip to content

Precision problems in primitive datatypes due to Javascript #12

Description

@pedrobranco

As of the XSD specification allows that primitive datatypes Decimal, Double, Float and Integer to have a precision with more than 15 significant digits (example is via totalDigits).

When we are using parseFloat here / here and parseInt here makes the parsed values lose precision (javascript does not support float/number representation with more than 15 digits).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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