C

double QML Basic Type

a number with a decimal point. More...

The real type refers to a number with decimal point, e.g. 1.2 or -29.8.

Note: real and double are both mapped to a qreal type in the generated C++ code.

Example:

Item {
    property double number: 32155.2355
}

This basic type is provided by the QML language.

Available under certain Qt licenses.
Find out more.