Elementium Sign in
Contents

Values · Value

Digits of a number

How many digits a number has, their sum, the number backwards, and whether it is a palindrome.

Free plan math.digits

In a flow

“Works out digits of a number whenever a step wired to it needs the answer.”

1221 → 4 digits, sum 6

What it does

How many digits a number has, their sum, the number backwards, and whether it is a palindrome. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 4 values 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: how many digits a number has, their sum, the number backwards, and whether it is a palindrome.

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

A whole 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 1221.

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

Digits Number

How many digits. e.g. 4

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

Digit sum Number

Add the digits. e.g. 6

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

Backwards Number

The digits the other way. e.g. 1221

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

Palindrome Yes / no

On when it reads the same both ways. 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