# Arithmetic.Ternary enum

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum Arithmetic.Ternary
```

List of standard ternary arithmetic functions.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Clip | 0 | Limit a value to a lower and upper boundary. |
| Wrap | 1 | Wrap a value to within a range. |
| Ping | 2 | Ping-pong a value within a range. |
