# int EnvReadInt(int, str)

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
int EnvReadInt(int, str)
```

## Description

Formats a player-scoped environment path and returns the integer reader result.

## Parameters and return type

**Return type:** `int`

| Position | Type |
| --- | --- |
| 1 | `int` |
| 2 | `str` |

## Other overloads

Check the exact signature. A description of one overload does not automatically document the others.

- [`int EnvReadInt(str)`](/imperivm/en/CKS/reference/api-93f1fab8c16711/)
- [`int EnvReadInt(Settlement, str)`](/imperivm/en/CKS/reference/api-6110deaabf3ae6/)
- [`int EnvReadInt(Building, str)`](/imperivm/en/CKS/reference/api-f1a54d40ec00e5/)

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-579065c27b2094.md)
- [JSON](/imperivm/CKS/api/entries/api-579065c27b2094?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
