Command integervariable

The command integervariable is used to declare a variable to store only whole numbers, positive or negative.

Parameters

  1. variable [string]
    Variable Name.
  2. value [integer or string]
    Initial value of the variable.

Example


To display a variable of type integervariable, you must convert your type to stringvariable, as has been done in the example above.

In the example above, two variables have been created, one of integervariable type and another of stringvariable type. The variable $(iNumber) has an initial value of 10.