double (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Category

Type Specifiers

Syntax

[long] double <identifier>

Description

Use the double type specifier to define an identifier to be a floating-point data type. The optional modifier long extends the accuracy of the floating-point value.

If you use the double keyword, the floating-point math package will automatically be linked into your program.

See Also