C

real 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 { width: 100.45; height: 150.82 }

This basic type is provided by the QML language.

Available under certain Qt licenses.
Find out more.