float (C++)
Go Up to Keywords, Alphabetical Listing Index
Category
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.