Skip to content

Instantly share code, notes, and snippets.

@cwefso
Last active March 16, 2020 21:01
Show Gist options
  • Save cwefso/7820aa2032501818416cb1ccd631de15 to your computer and use it in GitHub Desktop.
Save cwefso/7820aa2032501818416cb1ccd631de15 to your computer and use it in GitHub Desktop.
Breakout Room 4 - Number Data Type
NUMBER
- Primitive data type.
- Integers (whole numbers) and Floats (decimal numbers.)
- Integers: 1 , 5 , 10
- Floats: 2.3 , 4.4 , 11.3
- Allows you to work with numerical values.
- Allows you to do arithmatic calculations with values.
- Strings with numbers in them can be confused with numbers but can't be used in calculations.
- Not a string, doesn't go in " " s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment