このメソッドは、フィールドの値から LotusScript® の double データ型を取り出します。要求されたデータ型がフィールドのデータ型と異なる場合は、自動的に変換を実行します。
LCField
newFloat = lcField.GetFloat (index)
| パラメータ |
説明 |
|---|---|
| index |
Long、>= 1。取り出すフィールドのデータ値のインデックス。 |
| 値 |
説明 |
|---|---|
| newFloat |
Double 型。取り出されたデータ型の値です。 |
Option Public
Uselsx "*lsxlc"
Sub Initialize
Dim Fld As New LCField (LCTYPE_TEXT)
Fld.Text = "1234.56789"
Dim vFloat As Double
vFloat = Fld.GetFloat (1)
Print "The Float representation of the field is " & vFloat
End Sub
The Float representation of the field is 1234.56789.