Skip to content

Number Strict

Input
value
Convert value to a number (strict)
transformation:
numberStrict

Convert value to number (throws error if not a number)

source:value
Output
value
42
3.14
-7
Cannot convert 'abc' to number
12.3
Cannot convert '' to number

Sample inputs run locally in your browser using the same operation logic as Fontana Flow.
Results are illustrative, not connected to a workflow.

Convert value to number (throws error if not a number).

Parameters

This operation has no configurable parameters.

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-numberStrict",
"type": "transformation",
"action": "numberStrict",
"params": {},
"testInputs": [
"42",
"3.14",
"-7",
"abc",
"12.3.4",
""
]
}