Microsoft SDK for Java

putFloat

This method of the Variant Class sets the Variant object to type VT_R4 and clears the previous contents.

Syntax

public void putFloat(float val);

Note   The preferred way to create a VT_R4 Variant is to use the following expression:

new Variant(Variant.VariantFloat, val)

Parameters

val The new value.

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