This processor performs addition, subtraction, multiplication, or division on numbers and stores the result in a variable. For example, when swapping ETH to USDT (selling ETH), you might want to retain some ETH, either to avoid selling the entire balance or to cover gas fees. This processor handles that calculation for you.Documentation Index
Fetch the complete documentation index at: https://docs.keeperagent.com/llms.txt
Use this file to discover all available pages before exploring further.

Example calculate the token quantity to swap
Configuration fields
| Field name | Required? | Detail |
|---|---|---|
| Variable to save result | Yes | The processor outputs the computed value; assign a variable name to store it. For example, NATIVE_BALANCE_MINUS |
| Decimal part | No | Represents the decimal portion of the result. For example, with 2 decimal places the output might be 1.34 or 2.54; with 1 decimal place, you’d see 1.3 or 2.5 |