> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RS_Modulo

Find modulo of pixels with respect to a particular value

## Signatures

```sql theme={"system"}
RS_Modulo (Band: ARRAY[Double], Target: Double)
```

## Parameters

<ParamField body="Band" type="ARRAY[Double]" required>
  The band index.
</ParamField>

<ParamField body="Target" type="Double" required>
  The target value.
</ParamField>

## Return type

<ResponseField type="Array<Double>">
  An array of double values.
</ResponseField>

## Example

```scala theme={"system"}
val moduloDF = spark.sql("select RS_Modulo(band, target) as modulo from dataframe")
```
