real QML Basic Type | Qt QML 5.9

Qt 5.9 | Qt QML | QML Types | real QML Basic Type

Qt 5.9.2 Reference Documentation

# real QML Basic Type

a number with a decimal point.

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

Example:

      Item { width: 100.45; height: 150.82 }

Note: In QML all reals are stored in double precision, IEEE floating point format.

This basic type is provided by the QML language.

See also QML Basic Types.