# CSV export amount not correct after 2 decimal places

**URL:** <https://community.bitquery.io/t/csv-export-amount-not-correct-after-2-decimal-places/507>\
**Category:** GraphQL API\
**Tags:** open\
**Created:** [September 28, 2021, 8:37am UTC](https://community.bitquery.io/t/csv-export-amount-not-correct-after-2-decimal-places/507 "2021-09-28T08:37:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sayon](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sayon](https://community.bitquery.io/u/sayon)\
**Post date:** [September 28, 2021, 10:04am UTC](https://community.bitquery.io/t/csv-export-amount-not-correct-after-2-decimal-places/507/2 "2021-09-28T10:04:38Z")

</div>

Hi @edwardy this problem has already been solved earlier. You can check this thread

> [@Getting data in the form of a CSV file from Bitquery GraphQL API using NodeJS](https://community.bitquery.io/t/getting-data-in-the-form-of-a-csv-file-from-bitquery-graphql-api-using-nodejs/259):
>
> Getting data in the form of a CSV file from Bitquery GraphQL API using NodeJS The data which we often get in return from Bitquery GraphQL API is in the form of a GraphQL query. However, we can even generate the GraphQL returned data in the form of a CSV file and JSON. In this article we will be discussing the basic idea of getting data in JSON format using NodeJS and then later converting the JSON formatted data into a CSV file. Initializing a NodeJS project Install the following dependenci…

---

_[View the full topic](https://community.bitquery.io/t/csv-export-amount-not-correct-after-2-decimal-places/507)._
