ABSTRACT

This chapter explains how to work with various types of information in Processing. It describes about two numeric types, int and float. It explores values and variables of these two types. Processing includes both numeric values such as an integer and nonnumeric values such as a letter of the alphabet or an entire word. The chapter also explains about arithmetic operators, expressions, and the order of operations. It helps to learn about how to assign values to variables using assignment statements containing the assignment operator (=). The chapter examines the use of non numeric types of information, individual characters and strings of multiple characters, using specific values and variables of both the char and String types. It helps to learn about how the + operator is interpreted as the concatenation operation when one or both of the operands are of type String.