ProtoFlux:Is Digit

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

The Is Digit node takes in a character literal and returns if that character is a digit. Digit characters are numbers that have a numeric value to them and is not 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 digit.

See Also

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

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

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