Skip to content

Floor Number

Input
value
Floor value to 2 decimal places
transformation:
floorNumber

Round a number down to N decimal places (throws error if not a number)

source:value
parameters
decimalPlaces

Number of decimal places to retain (0–20, default 0)

Output
value
3.14
2
-1.68
0
999.99
-0.01

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

Round a number down to N decimal places (throws error if not a number).

Parameters

  • decimalPlaces (Decimal Places, number, optional) — Number of decimal places to retain (0–20, default 0). Default: 0.

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-floorNumber",
"type": "transformation",
"action": "floorNumber",
"params": {
"decimalPlaces": 2
},
"testInputs": [
"3.14159",
"2.005",
"-1.678",
"0.0049",
"999.995",
"-0.005"
]
}