type: double
[contents]

#### Syntax

The syntax for double definitions is:

f++:
double definitions
double(definitions)
:=(double, definitions)


n++:
@double definitions
@double(definitions)
@:=(double, definitions)


Note: If you are using the first syntax for variable definitions and want to have more code and/or text following on the same line then simply end the definition with ';'.

#### Description

The double type is used for floating point values.

Note: If you need to define thousands of variables then := is faster, plus it has useful error messages for unrecognised types.

#### Options

The following options are available for double definitions:

option description
const definition of a constant
!exprtk do not register variable with ExprTk
layer="x" define variable at layer x
private definition of a private
scope+="x" add x to scopes variable can be accessed from
option description

#### f++ example

Examples of double being defined with f++:

double a=10.5, b=12.2
double(x, y, z)
:=(double, count = 15.3)

#### n++ example

Examples of double being defined with n++:

@double a=10.5, b=12.2
@double(x, y, z)
@:=(double, count = 15.3)