Negate
Input
| value |
|---|
Negate value
transformation:negate
Negate (flip the sign of) a number
source:value
Output
| value |
|---|
| 5 |
| -5 |
| 0 |
| 100 |
| -42 |
| 0.5 |
Sample inputs run locally in your browser using the same operation logic as Fontana Flow.
Results are illustrative, not connected to a workflow.
Negate (flip the sign of) a number.
Parameters
This operation has no configurable parameters.
Field selection
- source — Field whose values this operation reads. Use a single field name, a comma-separated list of plain field paths (
cash_flow_type, currency) from the multi-select UI, or a regex via Pattern mode. Omit to apply to all fields on the row. - target — Optional output field. When omitted, the source field is updated in place. Hidden when more than one named source field is selected.
JSON Configuration
{ "id": "op-negate", "type": "transformation", "action": "negate", "params": {}, "testInputs": [ "-5", "5", "0", "-100", "42", "-0.5" ]}