ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabWindows/CVI

CA_VariantFloat

VARIANT CA_VariantFloat (float floatValue);

Purpose

Converts a single-precision, floating-point value into a variant that contains the float value.

Use CA_VariantFloat to pass a float value as a variant parameter.

Parameters

Input
Name Type Description
floatValue float Value to store in the variant.

Return Value

Name Type Description
variant VARIANT Variant that contains the value in floatValue.

Additional Information

Library: ActiveX Library

Include file: cviauto.h

LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later