Microsoft SDK for Java

getFloat

This method of the Variant Class retrieves the value of a VT_R4 Variant.

Syntax

public float getFloat();

Return Value

Returns the Variant object's value, which is converted to a Java float.

Exceptions

ClassCastException if the variant type is not VT_R4.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.