> For the complete documentation index, see [llms.txt](https://docs.coupler.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coupler.io/functionality/preview-data/data-types-and-formatting.md).

# Data types and formatting

Set and format data types in Coupler.io — choose from string, number, date, and datetime types with precision controls for currency, percent, and decimal values.

Coupler.io allows user to work with different data types, so you can represent your data appropriately using specified format and use proper filtering / sorting options.

### String

String data type stands for alphanumeric characters.

*Examples:*

* `this is a string value`
* `string`
* `123text`
* `Hello!`

<div align="left"><figure><img src="https://2487187314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgnmco7kCnvytNIN8YdT%2Fuploads%2FPfU8O0VMudQ4UJw6TU9u%2Fimage.png?alt=media&amp;token=fb2792f1-a147-4461-9963-29642f3388fb" alt="" width="563"><figcaption></figcaption></figure></div>

### Number <a href="#number" id="number"></a>

Number data type stands for numeric values. Coupler.io supports different data types and formats along with precision described below.

{% tabs %}
{% tab title="Integer" %}
Whole numbers.

*Examples:*

* `0`
* `-1`
* `99999999`

<div align="left"><figure><img src="https://2487187314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgnmco7kCnvytNIN8YdT%2Fuploads%2FvLC4VwyTvcfO5eS1c0zw%2Fimage.png?alt=media&amp;token=ea238a8f-c058-464f-a458-aed02564e972" alt="" width="375"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Decimal" %}
Numbers with a decimal point.

*Examples:*

* `0.1`
* `-0.1243`
* `11.78`

<div align="left"><figure><img src="https://2487187314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgnmco7kCnvytNIN8YdT%2Fuploads%2FlnwZv8lghioGjfvacbvu%2Fimage.png?alt=media&amp;token=f11d3b46-455a-4869-b637-d62672025612" alt="" width="375"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Decimal with precision" %}
Number of digits after decimal point.

*Examples:*

* precision `1.0`: 12.3
* precision `1.00:` 22.74
* precision `1.000000:` 0.851789

<div align="left"><figure><img src="https://2487187314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgnmco7kCnvytNIN8YdT%2Fuploads%2FKNajNNajTup5p7kVhunQ%2Fimage.png?alt=media&amp;token=7de851b2-6d9f-4592-93c5-ade8d6d9ee70" alt="" width="375"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Percent" %}
Percent representation of a numerical value. Can be used with precision

*Examples:*

* `0.2%`
* `99%`
* `-11%`

<div align="left"><figure><img src="https://2487187314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgnmco7kCnvytNIN8YdT%2Fuploads%2F5MPMPkpgg6P9JGkYHHHT%2Fimage.png?alt=media&amp;token=3fbcb6cc-06a1-424c-8a86-e0c04aee2d7c" alt="" width="375"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Currency" %}
Currency representation of a numerical value. Can be used with precision

*Examples:*

* `$10`
* `UAH 12`
* `£2`

<div align="left"><figure><img src="https://2487187314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgnmco7kCnvytNIN8YdT%2Fuploads%2F0fq871aPVopvN9z8kVBW%2Fimage.png?alt=media&amp;token=12b0690e-9794-4801-bcf6-e3f6afe2067c" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="info" %}
**Note:** Coupler.io uses USD as the default currency. If your data is in a different currency, you can change this in the column settings.

To change the currency: open **Data preview**, click the 3 lines next to the column name to **Edit column**, set **Format** to **Currency**, then select your currency from the **Currency** dropdown.
{% endhint %}
{% endtab %}
{% endtabs %}

### &#x20;<a href="#date" id="date"></a>

### Date and DateTime <a href="#date" id="date"></a>

Stands for date or datetime values.

Make sure that you have in the source needed columns in 'Date' or 'DateTime' **ISO format** (e.g. YYYY-MM-DD, YYYY-MM-DD HH:mm).

{% tabs %}
{% tab title="Date" %}
*Examples*

* `2017-05-06`
* `1987-02-27`

<div align="left"><figure><img src="https://2487187314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgnmco7kCnvytNIN8YdT%2Fuploads%2FJvzwO7z3WiEPgNuBgOVB%2Fimage.png?alt=media&amp;token=081ce8e5-98db-4ff3-945a-c432507738cf" alt="" width="375"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="DateTime" %}
*Examples:*

* `2023-07-11T14:10:33.682Z`
* `2023-07-11T13:20:38.489Z`

<div align="left"><figure><img src="https://2487187314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgnmco7kCnvytNIN8YdT%2Fuploads%2FmbxSZEO1zXWqC6iSSKBd%2Fimage.png?alt=media&amp;token=d578de25-c143-453b-8cf9-c7a99b57422a" alt="" width="375"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Time Zone" %}
When dealing with Date or DateTime types, you would even have the option to specify which Time Zone to follow:

<div align="left"><figure><img src="https://2487187314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgnmco7kCnvytNIN8YdT%2Fuploads%2FRMMYPfKgG26XzyzfDEQk%2Fimage.png?alt=media&amp;token=74611d08-914a-40ef-b09d-7eb8e7d93c21" alt="" width="375"><figcaption></figcaption></figure></div>
{% endtab %}
{% endtabs %}

### Boolean <a href="#boolean" id="boolean"></a>

Boolean type that has one of two possible logical values: true or false.

**Examples:**

* `TRUE`
* `false`
* `0`
* `t`

<div align="left"><figure><img src="https://2487187314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgnmco7kCnvytNIN8YdT%2Fuploads%2FLAnrM8iKbJWrX6rUJDjq%2Fimage.png?alt=media&amp;token=5d094bf3-aa81-40cd-bdaf-2d9f4cb331ae" alt="" width="375"><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.coupler.io/functionality/preview-data/data-types-and-formatting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
