How can I validate / test a formula used for salary component? Currently I am creating a salary component, salary assignment and salary slip to test each change.

Is it possible to use a complicated logic like

```
base - floor((base - 2000) / 525) * 525 - 1600
```

NB: The above formula is not working

**Edit**

The following formula worked

```
base - int((base - 2000) / 525) * 525 - 1600
```

But still, it would be really helpful if there was an easier way to test.