klyn.Float.Float
constructor
public native Float(value: String) throws ValueException
Description

Builds a Float from a textual representation.

Parameters
ParameterDescription
valueText containing a valid floating-point number.
Throws
  • ValueException if the input is not a valid Float.
Example
value = Float("123.45")
assert value == 123.45f