ProtoFlux:Is Number

From Resonite Wiki
Revision as of 14:27, 17 April 2024 by AmasterAmaster (talk | contribs) (Created a page for the IsNumber node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Is Number
Character
*
Characters

The Is Number node takes in a character literal and returns if that character is a number. Number characters are numbers that have a numeric value to them and can be a symbol.

Examples

An easy way to remember this is: All digits are numbers, but not all numbers are digits.

- ½, ①, 1, 2, 3 count as numbers.
- 1, 2, 3 count as digits.

Inputs

Character (char)

The character literal to check.

Outputs

* (bool)

Returns if this is a number.

See Also

Microsoft Documentation about the Char.IsNumber method. [1]

List of Unicode Characters of Category “Decimal Number”. [2]

List of Unicode Characters of Category “Letter Number”. [3]