# stringify · FT4 TypeScript client · Chromia Docs (concept)

> stringify(amount: AnyAssetAmount , removeTrailingZeroes?: boolean): string To be used if you want the precise value, down to the last digit.
It must return

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/asset.stringify/

Function

# stringify

* ```signature
  stringify(amount: AnyAssetAmount, removeTrailingZeroes?: boolean): string
  ```

  To be used if you want the precise value, down to the last digit.
  It must return a string, as a Number could still be overflowed and floating point
  numbers aren't precise in JS.

  #### Parameters

  + amount: [AnyAssetAmount](https://docs.chromia.com/pages/ft4-ts-client/types/asset.AnyAssetAmount/)

    the amount to format
  + removeTrailingZeroes: boolean = true

    if true, trailing zeroes will be removed (0.800 -> 0.8).
    Defaults to true.

  #### Returns string

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/asset.stringify.html)Generated API reference, mirrored from the live docs
