Skip to content

Precision issue with lossless-json #55

Description

@ThallesP

Hey, it's great to hear that you now have an SDK. I maintained a rather rudimentary SDK at https://github.com/ThallesP/coingecko-node-sdk, and we're thinking of migrating to this one.

However, I have a question: how will CoinGecko handle precision issues? JavaScript is not a perfect language, and as soon as we parse the request from CoinGecko, that will cause number precision issues. In my SDK, I used lossless-json which parses the numbers as strings. Will the CoinGecko SDK follow something similar?

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions