Elementium Sign in
Contents

Values · Value

Round to nearest step

Round a number to the nearest 5, 25, 100 or any step.

Free plan math.nearest

In a flow

“Works out round to nearest step whenever a step wired to it needs the answer.”

137 to the nearest 25 → 125

What it does

Round a number to the nearest 5, 25, 100 or any step. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 1 value later steps can use. Find it under Values in the palette.

When to use it

Use it when a step needs a value worked out first: round a number to the nearest 5, 25, 100 or any step.

When not to

For a value that never changes, type it into the setting instead of wiring a node.

Typical wiring

Sockets: settings you can wire

Number Number

The number.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 0.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Step Number

The step, above 0.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 5.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Values it gives

Result Number

The rounded number. e.g. 125

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more

Often next

Related in Values

Wires and sockets · Data values · Plans