# 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:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![edwardy](https://avatars.discourse-cdn.com/v4/letter/e/ecd19e/32.png) [@edwardy](https://community.bitquery.io/u/edwardy)\
**Post date:** [September 28, 2021, 8:37am UTC](https://community.bitquery.io/t/csv-export-amount-not-correct-after-2-decimal-places/507/1 "2021-09-28T08:37:42Z")

</div>

When I do a csv export with a number above 1 it only has 2 decimal places even when on the blockchain explorer it has more. This causes issues with totals for tax purposes etc as the numbers do not add up. Thanks

Here is the case (random transaction):

[Algorand Transaction](https://algoexplorer.io/tx/Y5M5TRRWLZDQZOKX2FHDCXNDRT3IQNUUGMAXZHOXSXOPWE7LXVAQ) - 7.61631 YLDY  
[Transfers Algorand Mainnet Y5M5TRRWLZDQZOKX2FHDCXNDRT3IQNUUGMAXZHOXSXOPWE7LXVAQ](https://explorer.bitquery.io/algorand/tx/Y5M5TRRWLZDQZOKX2FHDCXNDRT3IQNUUGMAXZHOXSXOPWE7LXVAQ/transfers) - 7.62 [YLDY]

The GraphQL json output is correct, can the csv be changed?

```auto
query ($network: AlgorandNetwork!, $hash: String!, $limit: Int!, $offset: Int!) {
  algorand(network: $network) {
    transfers(options: {limit: $limit, offset: $offset}, amount: {gt: 0}, txHash: {is: $hash}) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      currency {
        symbol
        tokenId
      }
      transferType
    }
  }
}
{"limit":10,"offset":0,"network":"algorand","hash":"Y5M5TRRWLZDQZOKX2FHDCXNDRT3IQNUUGMAXZHOXSXOPWE7LXVAQ"}

```

---

<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…
