# int Settlement::GoldSpentOnTech()

[Family: Settlement](/imperivm/en/CKS/familias/settlement/)

## Exact signature

```text
int Settlement::GoldSpentOnTech()
```

## Description

Returns the parsed technology expenditure key on a valid receiver and omits the integer output on an invalid one.

## Parameters and return type

**Return type:** `int`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

This signature takes no additional arguments.

## Read and share

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

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