QML Basic Type: real

A real number has a decimal point, e.g. 1.2 or -29.8.

A real number has a decimal point, e.g. 1.2 or -29.8.

Example:

  1.                 Item  { width: 100.45; height: 150.82 }

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

See also QML Basic Types.

Notes provided by the Qt Community

No notes