% master: datentypen.tex % Datentypen v0.1 % 2011-06-08 (Rx) \subsection{Datentypen} %---------------------- \begin{verbatim} Typ Inhalt Standdartwert Größe Wertebereich boolean True oder False False 1 Bit - char Unicode Zeichen 0000 16 Bit 0000 bis FFFF (Hex.) byte Ganzzahl mit Vorzeichen 0 8 Bit -256 bis 255 short Ganzzahl mit Vorzeichen 0 16 Bit -32768 bis 32767 int Ganzzahl mit Vorzeichen 0 32 Bit -2^31 bis 2^31-1 long Ganzzahl mit Vorzeichen 0 64 Bit -2^63 bis 2^63-1 float Kommazahl 0.0 32 Bit - double Kommazahl 0.0 64 Bit - \end{verbatim}