Showing posts with label Str. Show all posts
Showing posts with label Str. Show all posts

Tuesday, August 31, 2010

Visual Basic Math Function : Str

Purpose : the Str function converts a numeric expression to a string .

Syntax :
Str ( numExpression )

numExpression : Numeric expression you want to convert to a string .

A$ = Str ( 100 )
B$ = Str ( -100 )

The value of A$ becomes "100" and B$ "-100". string value return .

Saturday, August 14, 2010

Visual Basic String Function : Str

Purpose : The Str function converts numeric data into an unformatted string.

Syntax :
str ( number )

number : Numeric data to convert to a string

s = Str ( txtNumber.Text )

The Str function translates a number into a string or byte array. Str does not formatting.