# operator /(Vector3, float)

> Divides a vector by a number.

## Definition

* **Type:** Operator
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static Vector3 operator /(Vector3 a, float d)
```

### Parameters

**** (\[Vector3]\(/engine/6000.6/script-reference/unityengine/vector3)): The vector to divide by `d`.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The number to divide by.

### Returns

| Type                                                              | Description |
| ----------------------------------------------------------------- | ----------- |
| [Vector3](/engine/6000.6/script-reference/unityengine/vector3.md) |             |

### Remarks

Divides each component of `a` by a number `d`.

### Examples

```csharp
using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour
{
    void Example()
    {
        // make the vector twice shorter: prints (0.5,1.0,1.5)
        print(new Vector3(1, 2, 3) / 2.0F);
    }
}
```
