Home > Common Problem > What does str mean in vb

What does str mean in vb

藏色散人
Release: 2020-05-06 11:33:47
Original
16677 people have browsed it

What does str mean in vb

What does str mean in vb?

str is a function of VB that can convert numeric variables or constants into character variables or constants.

The function of the str function is to return a Variant (String) representing a numerical value. When a number is converted into a string, a space is always left at the front to represent positive and negative numbers. If number is positive, the returned string contains a leading space to imply a positive sign.

What does str mean in vb

Note that the Str function only treats periods (.) as valid decimal points. If you use a different decimal point (for example, an international application), use CStr to convert the number to a string. Use the Str function to convert a number into a string. When the number is converted into a string, the first digit of the string must be a space or a sign.

Extended information:

Visual Basic (VB) is derived from the BASIC programming language. VB has a graphical user interface (GUI) and a rapid application development (RAD) system. You can easily use DAO, RDO, and ADO to connect to the database, or easily create ActiveX controls. Programmers can easily use the components provided by VB to quickly build an application.

The central idea of ​​VB is to be easy to use for programmers, whether they are novices or experts. VB uses a GUI system that can easily create applications, but can also develop quite complex programs. A VB program is a form-based arrangement of visual components, and code is added to specify the properties and methods of the components.

Because some of the default properties and methods are already defined in the component, programmers can complete a simple program without writing much code. In past versions, the performance issues of VB programs have been discussed on the table, but with the rapid increase in computer speed, the debate about performance has become less and less.

The above is the detailed content of What does str mean in vb. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template