FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 Val
 
Purpose
Returns the numeric value of a string argument.
Syntax
Val (StringExpression)


StringExpression
Any string that represents a number.
If StringExpression contains the decimal point character, Val returns a floating-point value; otherwise, Val returns an integer value.

Example
Sub Main()
'this program converts string "50" into a number and then uses the number in a math calculation
        Dim s As String
        Dim num As Integer
        s = "50"
        num = Val(s)
                Print "The numeric value of 's' times 5 is: ",num *5
End Sub

 

Copyright(C) 2002-2011 FC Management Co. All Rights Reserved