Str$ Function

Syntax

Str[$](Num)

Group

String

Description

Return the string representation of Num.

Parameters

Parameters Description
Num Return the string representation of this numeric value. Positive values begin with a blank. Negative values begin with a dash '-'.

Example


Sub Main
    Debug.Print Str$(9*9) ' 81
End Sub

See also

CStr( ), Hex$( ), Oct$( ), Val( )