First, refer to different
1, Integer: integer data type.
2.Single: single-precision real number.
Second, the usage is different.
1, Integer:integer, which is one of the basic data types of programming languages, is used to express the data type of variables, and sometimes it is also used for forced data type conversion of constants (variables and expressions). The length of integer data and its range of values are not fixed, which is influenced by the compilation environment.
2.Single: Single (single-precision floating-point type) has become. NET development, because of its powerful operation ability, elegant grammar style, innovative language features and convenient component-oriented programming support.
Third, the emphasis is different.
1, Integer: Integer is stored as a value of 16 bits (2 bytes).
2.Single:single is stored as? IEEE? A 32-bit (4-byte) floating-point number.