---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - en/function-ref/CAST_ARR_FLOAT
  - ru/function-ref/CAST_ARR_FLOAT
  - href: en/function-ref/CAST_ARR_FLOAT.md
    type: text/markdown
    title: Markdown version
csp:
  - script-src:
      - https://mc.yandex.ru
    img-src:
      - https://mc.yandex.ru
    connect-src:
      - https://mc.yandex.ru
      - wss://mc.yandex.ru
    child-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-ancestors:
      - 'blob:'
      - https://mc.yandex.ru
canonical: en/function-ref/CAST_ARR_FLOAT.html
editable: false
vcsPath: en/function-ref/CAST_ARR_FLOAT.md
---

# CAST_ARR_FLOAT



#### Syntax {#syntax}


```
CAST_ARR_FLOAT( array )
```

#### Description {#description}
Converts `array` to an array of fractional numbers. The conversion rules are the same as for [FLOAT](FLOAT.md).

**Argument types:**
- `array` — `Array of fractional numbers | Array of integers | Array of strings`


**Return type**: `Array of fractional numbers`

#### Example {#examples}



| **[string_array]**          | **[int_array]**    | **CAST_ARR_FLOAT([string_array])**   | **CAST_ARR_FLOAT([int_array])**   |
|:----------------------------|:-------------------|:-------------------------------------|:----------------------------------|
| `"['100','300','200']"`     | `'[12,0,42]'`      | `'[100,300,200]'`                    | `'[12,0,42]'`                     |
| `"['100','300',NULL,NULL]"` | `'[-3,NULL,0]'`    | `'[100,300,NULL,NULL]'`              | `'[-3,NULL,0]'`                   |
| `"['150',NULL,'192']"`      | `'[132,637,NULL]'` | `'[150,NULL,192]'`                   | `'[132,637,NULL]'`                |




#### Data source support {#data-source-support}

`ClickHouse 21.8`, `Files`, `Google Sheets`, `PostgreSQL 9.3`, `Trino`, `Yandex Documents`.
