Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Str FunctionThis standard VB function returns a string representation of a number. SyntaxReturnsA string representation of number. UsageThe precision in the returned string is single precision for an integer or single-precision numeric expression; double precision for a long or double-precision numeric expression, and currency precision for currency. Variants return the precision of their underlying vartype. The dollar sign ($) in the function name is optional. If it is specified, the return type is string. Otherwise the function returns a variant of vartype 8 (string). ExampleThis example prompts for two numbers, adds them, and then shows them as a concatenated string. Sub Button_Click See Also |
Siebel VB Language Reference |