> For the complete documentation index, see [llms.txt](https://george-jen.gitbook.io/data-science-and-apache-spark/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://george-jen.gitbook.io/data-science-and-apache-spark/scala-data-type.md).

# Scala Data Type

Scala has below built in data type:

```
Boolean   	true or false
Byte		    8 bit signed value
Short		    16 bit signed value
Char		    16 bit unsigned Unicode character
Int		      32 bit signed value
Long		    64 bit signed value
Float		    32 bit IEEE 754 single-precision float
Double		  64 bit IEEE 754 double-precision float
String		  A sequence of characters
```
