float (C++)

From Appmethod Topics
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Category

Type Specifiers

Syntax

float <identifier>

Description

Use the float type specifier to define an identifier to be a floating-point data type.

Type

Length

Range

float

32 bits

3.4 * (10-38) to 3.4 * (10+38)

The floating-point math package will be automatically linked into your program if you use floating-point values or operators.

See Also