1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-25 21:39:21 +02:00
Vitaly the Alpaca (bot) 5cc51552f4 Main build (Jenkins)
2024-11-21 22:39:27 +03:00

60 lines
1.1 KiB
Plaintext

---
sidebar_position: 4
---
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 "fb078396-1e2a-452b-b1e9-7a3e11d6fad0"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint airtable GetNumberField ^
--title "fb078396-1e2a-452b-b1e9-7a3e11d6fad0"
```
</TabItem>
</Tabs>
```json title="Result"
{
"name": "Number",
"type": "number",
"options": {
"precision": 0
}
}
```