Skip to content

Printing double numbers #85

Description

@woodholly

How to print Double number in ordinal, non-exponential form ?
For example, I can turn it into exponential form:
console.log(new Double('10000000000').div(new Double('3')).toExponential());
'3.333333333333333333333333333333350e+9'
But how to turn it into string:
'3333333333.333333333333333333333333' ?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions