# IntegerOptions

Specify how an interpolated int or long value is rounded back to an integer.

Namespace: MeatMotion

Assembly: MeatMotion

```csharp
public struct IntegerOptions : IMotionOptions, IEquatable<IntegerOptions>
```

[Runtime/Adapters/BuiltIn/IntegerOptions.cs · L7](../../../source/Runtime/Adapters/BuiltIn/IntegerOptions.cs.html#L7)

## RoundingMode

Rule used by the adapter to round the result back to an integer.

```csharp
public RoundingMode RoundingMode;
```

[Runtime/Adapters/BuiltIn/IntegerOptions.cs · L10](../../../source/Runtime/Adapters/BuiltIn/IntegerOptions.cs.html#L10)

## Equals

Compare for value equality.

```csharp
public readonly bool Equals(IntegerOptions other)
```

Parameters and return value

- `other` (`IntegerOptions`) Operand for the equality comparison.
- Returns: `bool`

[Runtime/Adapters/BuiltIn/IntegerOptions.cs · L11](../../../source/Runtime/Adapters/BuiltIn/IntegerOptions.cs.html#L11)

```csharp
public override readonly bool Equals(object obj)
```

Parameters and return value

- `obj` (`object`) Operand for the equality comparison.
- Returns: `bool`

[Runtime/Adapters/BuiltIn/IntegerOptions.cs · L12](../../../source/Runtime/Adapters/BuiltIn/IntegerOptions.cs.html#L12)

## GetHashCode

Return the hash code used with value equality.

```csharp
public override readonly int GetHashCode()
```

Return value

- Returns: `int`

[Runtime/Adapters/BuiltIn/IntegerOptions.cs · L13](../../../source/Runtime/Adapters/BuiltIn/IntegerOptions.cs.html#L13)
