Elementium Sign in
Contents

Values · Value

Work out a formula

Any sum in one node, with x, y and z, instead of a chain of maths nodes.

Free plan math.formula

In a flow

“Works out work out a formula whenever a step wired to it needs the answer.”

x = 40 coins, y = 3 → round(x * 1.1 ** y) → 53

What it does

Any sum in one node, with x, y and z, instead of a chain of maths nodes. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 2 values later steps can use. Find it under Values in the palette.

When to use it

Use it whenever a sum would take three or more maths nodes, like a price with tax and a discount, or XP with a bonus.

When not to

Wire values into x, y and z. Dividing by 0 gives 0 with Worked off, so check Worked before you trust the result.

Typical wiring

Sockets: settings you can wire

x Number

The value of x.

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

y Number

The value of y.

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

z Number

The value of z.

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

Values it gives

Result Number

The answer. e.g. 53

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

Worked Yes / no

Off when it couldn't be worked out, like dividing by 0 (Result is then 0). e.g. on

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

Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more

Often next

Related in Values

Wires and sockets · Data values · Plans