Skip to main content

Round

This node rounds a number to the nearest integer.

The Round node applies standard mathematical rounding to convert decimals to whole numbers.

The Round node takes a numeric input and returns the nearest integer using standard rounding rules (0.5 and above rounds up, below 0.5 rounds down).

Inputs

Input

DataDescription
ValueThe number to round (default: 0)

Actions

SignalDescription
DoTriggers the rounding calculation

Outputs

DataDescription
Rounded ValueThe input value rounded to the nearest integer
SignalDescription
DoneTriggered when the calculation is complete

Usage

Example Use Cases

  1. Display Values: Round numbers for user-friendly display
  2. Financial Rounding: Round currency to nearest cent
  3. Game Mechanics: Convert calculated values to whole numbers
  4. Data Processing: Clean up floating-point calculation results

Examples

InputOutput
4.24
4.55
4.85
-2.3-2
-2.7-3