AsDouble Property

The AsDouble property provides access to the object as to a Double variable.

Applies to objects: Field, Property.

Syntax

[[Let] RetVal = ] object.AsDouble

[Let] object.AsDouble = SetVal

The AsDouble property syntax has these parts:

Part Description
object Required. A reference to an instance of the object.
RetVal Optional. A Double type variable.
SetVal Required. A Double type variable.

Remarks

There are also the AsBoolean, AsLong and AsString properties, which treat an object as a Boolean, Long or String variable respectively.

Example

.......

 

See Also

Field Object, Property Object, AsBoolean Property, AsLong Property, AsString Property.