Str Function
न्यूमेरिक एक्सप्रेशन को स्ट्रिंग में परिवर्तित करता है.
Syntax:
IsDate (Expression)
वापसी मूल्य:
वाक्यांश
पैरामीटर
स्ट्रिंग को न्यूमेरिक एक्सप्रेशन में परिवर्तित करता है.
The Str function converts a numeric variable, or the result of a calculation into a string. Negative numbers are preceded by a minus sign. Positive numbers are preceded by a space (instead of the plus sign).
उदाहरण:
Sub ExampleStr
Dim iVar As Single
Dim sVar As String
iVar = 123.123
sVar = LTrim(Str(iVar))
MsgBox sVar & chr(13) & Str(iVar)
End Sub