# `GSRoundGrid`

*Function*

## Declaration

```swift
func GSRoundGrid(_ value: CGFloat, _ grid: CGFloat) -> CGFloat
```

```objc
static CGFloat GSRoundGrid(CGFloat value, CGFloat grid);
```

```python
GSRoundGrid(value: float, grid: float) -> float
```

## See Also

### Rounding and Grid

- [`GSUnitVector`](/Core/GlyphsCore/GSUnitVector)
- [`GSCross`](/Core/GlyphsCore/GSCross)
- [`GSRoundHandle`](/Core/GlyphsCore/GSRoundHandle)
- [`GSRoundPoint`](/Core/GlyphsCore/GSRoundPoint)
- [`GSRoundPointToDirection`](/Core/GlyphsCore/GSRoundPointToDirection)
- [`GSRoundPointToLine`](/Core/GlyphsCore/GSRoundPointToLine)
- [`GSRoundPointGrid`](/Core/GlyphsCore/GSRoundPointGrid)
- [`GSRoundPointGridSetting`](/Core/GlyphsCore/GSRoundPointGridSetting)
- [`GSRoundPointGridSettingMax`](/Core/GlyphsCore/GSRoundPointGridSettingMax)
- [`GSRoundSize`](/Core/GlyphsCore/GSRoundSize)
- [`GSRoundRectGrid`](/Core/GlyphsCore/GSRoundRectGrid)
- [`GSRoundRect`](/Core/GlyphsCore/GSRoundRect)

