Types describe what data a variable contains.
There are multiple simple types:
Integers can hold whole numbers, like 1, 2, -10 or 30000:
int number = 42;
For storing text you can use strings:
string text = "Hello, Vala!";
A boolean can have only
false as the value:
bool vala_is_great = true;
Floating Point Number#
Floating Point Numbers are numbers, that can have a point, so not only whole numbers:
float pi = 3.141;
For all builtin simple types you can look here.