The float data type

Scalar data type. A 64-bit double-precision floating-point number.

...
<numberbox
  numberFormat='{decimalSeparator: "."}'
  float="true"
  number='{-0.42}'/>
...

Figure 269. The number property of this numberbox control is set to a float literal