klyn.Double.Double
constructor
public native Double(value: String) throws BadValueException
Description

Parses a Double from a textual representation.

Parameters
  • value Text containing a valid floating-point number.
Throws
  • BadValueException if the input is not a valid Double.
Example
value = Double("123.45")
assert value == 123.45