# operator -(double2)

> Returns the result of a componentwise subtraction operation on two double2 vectors.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Mathematics](/engine/6000.6/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

```csharp
public static double2 operator -(double2 val)
```

### Parameters

**** (\[double2]\(/engine/6000.6/script-reference/unity/mathematics/double2)):&#x20;

### Returns

| Type                                                                    | Description                                      |
| ----------------------------------------------------------------------- | ------------------------------------------------ |
| [double2](/engine/6000.6/script-reference/unity/mathematics/double2.md) | double2 result of the componentwise subtraction. |
