Str

ページ名:Str
  • Str$

 

String = Str$ ( Expression )

String = Str ( Expression )

式をその印刷可能な文字列表現に変換します。 それはValの正反対です。

 

The current localization is used for converting numbers and dates.

Example

'標準出力またはメッセージに印刷する

Public Const ON_STDOUT As Integer = 1
Public Const ON_MESSAGE As Integer = 2

Sub PrintOn(Where As Integer, What As Variant)

If Where = ON_STDOUT Then
Print What
Else If Where = ON_MESSAGE Then
Message(
Str$(What))
Endif

End

See also

シェアボタン: このページをSNSに投稿するのに便利です。

コメント

返信元返信をやめる

※ 悪質なユーザーの書き込みは制限します。

最新を表示する

NG表示方式

NGID一覧