Created a page for the Is Digit node.  | 
				 Typo fix.  | 
				||
| Line 16: | Line 16: | ||
== Examples ==  | == Examples ==  | ||
An easy way to remember this is: All   | 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 numbers.  | ||
  - 1, 2, 3 count as digits.  |   - 1, 2, 3 count as digits.  | ||
Revision as of 14:24, 17 April 2024
Is Digit
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]