Skip to content

Commit 6c53f6e

Browse files
committed
1 parent 703b1b0 commit 6c53f6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/characters/conversion_to_integers.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Conversion to Integers
22

3-
All `char`s have a matching numeric value. `'a'` is `97`, `'b'` is `98`,
3+
All `char`s have a matching numeric value[^ascii]. `'a'` is `97`, `'b'` is `98`,
44
`'&'` is `38`, and so on.
55

66
Same as assigning an `int` to a `double`, you can perform a widening conversion
@@ -30,4 +30,6 @@ IO.println(isLetter);
3030
This can be useful if you are stranded on Mars[^onmars] or
3131
if you want to see if a character is in some range.
3232

33+
[^ascii]: You can find some of these values in an "[ASCII Table](https://www.ascii-code.com/)."
34+
3335
[^onmars]: [https://www.youtube.com/watch?v=0xkP_FQUsuM](https://www.youtube.com/watch?v=0xkP_FQUsuM)

0 commit comments

Comments
 (0)