W3cubDocs

/Qt 5.15

real QML Basic Type

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qml-real.html