Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What does this definition of variables in VB mean?
What does this definition of variables in VB mean?
Some common basic types and type symbols of vb variables;

1, integer (type symbol%)

2.Long (type symbol &; )

3, single (type symbol! )

4.Double (type symbol #)

5. Currency (type symbol @)

6. String (type symbol $)

When you declare a variable, you can sometimes add a type symbol after the variable to indicate its type. For example, define an integer variable:

Dim? x? As? integer

Or:

Dim? X% and above have the same definition.

Dim? x%,y? Represents the definition of an integer variable x and a variable variable y.