Method

# Pow

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

Returns the value specified raised to the power specified.

## Usage

``` xojo
result = Pow(value, power)
```

| Part   | Type                             | Description                              |
|--------|----------------------------------|------------------------------------------|
| result | `Double</api/data_types/double>` | *value* raised to *power*.               |
| value  | `Double</api/data_types/double>` | The value you want to raised to *power*. |
| power  | `Double</api/data_types/double>` | The power that *value* is raised to.     |

## Sample code

This example uses the <span class="title-ref">Pow</span> function to return four raised to the power of seven.

``` xojo
Var d As Double
d = Pow(4, 7) ' returns 16384
```

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div class="seealso">

`^</api/language/operators/mathematical/^>` operator.

</div>
