## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> REMAINDER[REMAINDER]:::quoted
REMAINDER --> End((END))
```
## Purpose
The `REMAINDER` SQL function uses the round function in its formula, whereas the MOD function uses the floor function in its formula.
Parameters:
- Number1: a number.
- Number2: a number.
Returns: the remainder.