Dim a as integer what do you mean by integer
Answers
Answered by
2
The Integer data type widens to Long , Decimal , Single , or Double . This means you can convert Integer to any one of these types without encountering a System
Answered by
0
Answer:
Dim 'a' as Integer. An integer is a whole number and 'a' is a very common variable for integers. a = 1. The above is one way to reference an integer.
Explanation:
- In mathematics, an integer is a whole number which is not a fractional number that can be positive, negative, or zero.
- An another important fact is all integers are real numbers but all real numbers are not integers. Since, real numbers also include rational numbers and irrational numbers.
- Integers are denoted by the letter Z.
- Dim is usually used to declare and allocate storage space in memory for store variables. Dim statement is used either at the start of a procedure or at the start of a module or for script block in the first case, the variable declared using Dim is local to the procedures.
- Dim 'a' as Integer. An integer is a whole number and 'a' is a very common variable for integers. a = 1. The above is one way to reference an integer.
- The “Dim” statement is always followed by the name of the variable, and sometimes like a statement “as [datatype]”.
- In coding Dim is short for the word "Dimension" and it allows to declare variable names and their types. Dim is often found at the beginning of macro codes in coding.
- DIM in VBA can be defined as it declares variable in different data types such as integer Boolean string or double etc. In any programming language, a variable needs to be declared to a specific data type. Such as "X" is a variable and if we define "X" as an integer which means we can store integer values in "X".
To know more, go through the links;
https://brainly.in/question/15781444
https://brainly.in/question/15747778
#SPJ3
Similar questions