Multiply
Input
| value |
|---|
Multiply value by 10
transformation:multiply
Multiply source field by operand
source:value
parameters
- operandMode
- operandField
- operand
- decimalPlaces
- roundingMode
Use another row field or a numeric constant
Row field to combine with the source field
Numeric constant to combine with the source field
Round result to N decimal places before writing to output (0–20). Omit to keep full precision.
How to handle ties (only used when decimalPlaces is set)
Output
| value |
|---|
| 120 |
| -70 |
| 1000 |
| 0 |
| 35 |
| -5 |
Sample inputs run locally in your browser using the same operation logic as Fontana Flow.
Results are illustrative, not connected to a workflow.
Multiply source field by 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,100,0.1. - decimalPlaces (Decimal Places, number, optional) — Round result to N decimal places before writing to output (0–20). Omit to keep full precision. Examples:
0,2,4. - roundingMode (Rounding Mode, string, optional) — How to handle ties (only used when decimalPlaces is set). Allowed values:
halfUp,halfDown,halfEven.
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-multiply", "type": "transformation", "action": "multiply", "params": { "operandMode": "literal", "operandField": "", "roundingMode": "halfUp", "operand": 10 }, "testInputs": [ "12", "-7", "100", "0", "3.5", "-0.5" ]}