float attribute

The float keyword designates a 32-bit floating-point number.

float identifier-name;

Parameters

identifier-name

Specifies a valid MIDL identifier. Valid MIDL identifiers consist of up to 31 alphanumeric and/or underscore characters and must start with an alphabetic or underscore character.

Remarks

The float type is one of the base types of the interface definition language (IDL). The float type can appear as a type specifier in typedef declarations, general declarations, and function declarators (as a function-return-type specifier and a parameter-type specifier). For the context in which type specifiers appear, see Interface Definition (IDL) File.

The float type cannot appear in const declarations.

See also

MIDL Base Types

double

Interface Definition (IDL) File

typedef