# Get

The GET function returns the value of the node corresponding to the period index that is specified.

### Syntax

.GET(period\_index) - > number

### Arguments

<table><thead><tr><th width="158.33333333333331">Arguments</th><th width="142">Datatype</th><th>Description </th></tr></thead><tbody><tr><td>period_index</td><td>Number</td><td>An integer that is less than the number of periods defined in the model.</td></tr></tbody></table>

### Remarks

This function can only be used after referring a node for which this calculation needs to be done as shown below in the example.

### Example

Consider a scenario where you have the Discount rates for each period of 2023. The objective is to take the Dec 2023 rate as the discount rate for all periods of 2024.

<table><thead><tr><th width="103">Periods</th><th width="77">Jan</th><th width="64">Feb</th><th width="64">Mar</th><th width="64">Apr</th><th width="64">May</th><th width="64">Jun</th><th width="64">Jul</th><th width="64">Aug</th><th width="64">Sept</th><th width="64">Oct</th><th width="64">Nov</th><th width="64">Dec</th></tr></thead><tbody><tr><td><mark style="color:orange;">Discount (2023)</mark></td><td>10%</td><td>12%</td><td>12%</td><td>11%</td><td>12%</td><td>12%</td><td>13%</td><td>12%</td><td>10%</td><td>11%</td><td>13%</td><td>12%</td></tr></tbody></table>

To achieve this, the following formula should be written in the \[Discount(2024)] node,

<mark style="color:orange;">**`[Discount (2023) ]`**</mark>**`.`**<mark style="color:blue;">**`Get`**</mark>**`(12)`**

### Result

<table><thead><tr><th width="121">Periods</th><th width="77">Jan</th><th width="64">Feb</th><th width="64">Mar</th><th width="64">Apr</th><th width="64">May</th><th width="64">Jun</th><th width="64">Jul</th><th width="64">Aug</th><th width="64">Sept</th><th width="64">Oct</th><th width="64">Nov</th><th width="64">Dec</th></tr></thead><tbody><tr><td>Discount (2024)</td><td>12%</td><td>12%</td><td>12%</td><td>12%</td><td>12%</td><td>12%</td><td>12%</td><td>12%</td><td>12%</td><td>12%</td><td>12%</td><td>12%</td></tr></tbody></table>
