Chapter 5: Data Types
In this chapter, we will explore the data types available in AVAP™. Data types are fundamental in programming as they determine what kind of values can be stored in a variable and what operations can be performed with those values. Throughout this chapter, we will discuss the basic data types in AVAP™ and how they are used in program development.

1.1 Basic Data Types
In AVAP™, like in Python, there are several basic data types:

1.1.1 Integers (int)
Integers represent whole numbers without decimals. They can be positive, negative, or zero. In AVAP™, integers are defined using the int data type.

integer_number = 10
1.1.2 Floating-Point Numbers (float)
Floating-point numbers represent real numbers with decimals. In AVAP™, they are defined using the float data type.

floating_number = 3.14
1.1.3 Strings (str)
Strings represent text. In AVAP™, they are defined using the str data type.

text_string = "Hello, world!"
1.1.4 Booleans (bool)
Booleans represent truth or falsehood values. In AVAP™, they are defined using the bool data type.

true_value = True
false_value = False
1.2 Conversion Between Data Types
In AVAP™, just like in Python, it is possible to convert between different data types using specific functions. Some common examples include:

1.2.1 Conversion to Integer
To convert a value to an integer, the int() function is used.

text = "10" 
number = int(text)
1.2.2 Conversion to Floating-Point
To convert a value to a floating-point number, the float() function is used.

text = "3.14" 
number = float(text)
1.2.3 Conversion to String
To convert a value to a string, the str() function is used.

number = 10 
text = str(number)
1.3 Operations with Data Types
In AVAP™, just like in Python, it is possible to perform operations with different data types. For example:

# Operations with integers 
a = 10 
b = 5 
sum = a + b 
difference = a - b 

# Operations with floating-point numbers 
c = 3.5 
d = 2.0 
product = c * d 
division = c / d 

# Operations with strings 
text1 = "Hello" 
text2 = "world" 
concatenation = text1 + " " + text2
1.4 Summary
Data types in AVAP™ are fundamental for program development. They allow for the storage and manipulation of different types of values, such as numbers, text, and truth values. With a solid understanding of data types and how they are used in program development, developers can create robust and functional applications in AVAP™.