Power
Input
| value |
|---|
Raise value to the power of 10
transformation:power
Raise source field to the power of operand
source:value
parameters
- operandMode
- operandField
- operand
Use another row field or a numeric constant
Row field to combine with the source field
Numeric constant to combine with the source field
Output
| value |
|---|
| 61917364224 |
| 282475249 |
| 100000000000000000000 |
| 0 |
| 275854.7353515625 |
| 0.0009765625 |
Sample inputs run locally in your browser using the same operation logic as Fontana Flow.
Results are illustrative, not connected to a workflow.
Raise source field to the power of operand.
Parameters
- operandMode (Operand type, string, optional) — Use another row field or a numeric constant. Allowed values:
field,literal. - operandField (Operand field, string, optional) — Row field to combine with the source field. Default:
"". - operand (Literal operand, number, optional) — Numeric constant to combine with the source field. Examples:
0,1,2,10.
Field selection
- source — Field whose values this operation reads. Omit to apply to all fields on the row.
- target — Optional output field. When omitted, the source field is updated in place.
JSON Configuration
{ "id": "op-power", "type": "transformation", "action": "power", "params": { "operandMode": "literal", "operandField": "", "operand": 10 }, "testInputs": [ "12", "-7", "100", "0", "3.5", "-0.5" ]}