a number with a decimal point.
The
real
type refers to a number with decimal point, e.g. 1.2 or -29.8.
范例:
Item { width: 100.45; height: 150.82 }
注意: In QML all reals are stored in double precision, IEEE floating point 格式。
此基本类型由 QML 语言提供。
另请参阅 QML 基本类型 .