Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - In VB, the following three dim…as: integer, string, single. What's the difference between them?
In VB, the following three dim…as: integer, string, single. What's the difference between them?
Integer, that is, only integers can be saved, such as 1,100,355.

String characters, only character data such as "123", "adf" and "Satan method" can be saved (character data should be enclosed in quotation marks).

A single saved decimal. Such as 4.0, 13.6, 100.5, etc.

Of course, everyone has their own precision, and the maximum and minimum values that can be saved are different.