Skip to content

Long-Number conversion accuracy #37

@cosmospostman

Description

@cosmospostman

Hi,

Some of my Java methods return a long, whose accuracy is not maintained when converted to a JavaScript Number. The number is an ID (arithmetic operations aren't required), but I eventually need to pass it through to other Java methods.

Is there a way to accurately get the String value of this long (for display and reference in JS land) and then convert back to a long to pass to Java methods?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions