Str Function

 

Str(numericexpr)

 

Returns the value of a numeric expression.

 

Str returns a String.

 

Related topics: Format, Val

 

Example:

 

Sub main ()

   Dim msg

   a = -1

   msgBox "Num = " & Str(a)

   MsgBox "Abs(Num) =" & Str(Abs(a))

 

End Sub