1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/md/Airtable/Working-with-fields/Get-number-field.mdx
Vitaly the Alpaca (bot) 84bd7e0360 Main build (Jenkins)
2025-10-15 14:32:00 +03:00

61 lines
1.4 KiB
Plaintext
Vendored

---
sidebar_position: 4
description: Get field (numeric) and other functions to work with Airtable in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Airtable]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get field (numeric)
Gets the description of a numeric field
`Function GetNumberField(Val Name, Val Precision = 0) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Name | --title | String | ✔ | New field name |
| Precision | --precision | Number, String | ✖ | Number of decimal places |
Returns: Structure - Field description
<br/>
```bsl title="1C:Enterprise/OneScript code example"
Result = OPI_Airtable.GetNumberField("Number");
```
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
oint airtable GetNumberField \
--title "2d930e9e-886d-4144-86b4-63179fe702e6"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint airtable GetNumberField ^
--title "2d930e9e-886d-4144-86b4-63179fe702e6"
```
</TabItem>
</Tabs>
```json title="Result"
{
"name": "Number",
"type": "number",
"options": {
"precision": 0
}
}
```