Skip to content

Commit

Permalink
Merge pull request #36 from elliewix/patch-4
Browse files Browse the repository at this point in the history
adjusting language on int vs float
  • Loading branch information
elainewong authored Jun 4, 2017
2 parents 2119159 + 8c46b66 commit cf2bf87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _episodes/03-types-conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ keypoints:
## Every value has a type.

* Every value in a program has a specific type.
* Integer (`int`): counting numbers like 3 or -512.
* Integer (`int`): whole numbers like 3 or -512.
* Floating point number (`float`): fractional numbers like 3.14159 or -2.5.
* Integers are used to count, floats are used to measure.
* Whole numbers may also be stored as floats, e.g. `1.0`, but `1.0` would still be stored as a `float`.
* Character string (usually called "string", `str`): text.
* Written in either single quotes or double quotes (as long as they match).
* The quotation marks aren't printed when the string is displayed.
Expand Down

0 comments on commit cf2bf87

Please sign in to comment.