1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-27 12:32:33 +02:00

46 lines
745 B
Markdown
Raw Normal View History

---
sidebar_position: 4
---
# Get field (numeric)
Gets the description of a numeric field
2024-07-10 13:58:29 +03:00
`Function GetNumberField(Val Name, Val Precision = 0) Export`
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Name | --title | String | New field name |
| Precision | --precision | Number, String | Number of decimal places |
Returns: Structure - Field description
2024-07-10 14:05:58 +03:00
<br/>
2024-07-10 13:58:29 +03:00
```bsl title="Code example"
2024-10-02 20:28:02 +03:00
Result = OPI_Airtable.GetNumberField("Number");
```
```sh title="CLI command example"
oint airtable GetNumberField --title "Number" --precision "0"
```
```json title="Result"
2024-10-03 09:45:14 +03:00
{
"name": "Number",
"type": "number",
"options": {
"precision": 0
}
}
```