Creates an xs:double (or xs:float type) value wrapping value.
xs:double
xs:float
type
value
const new(this.value, [this.type = xsDouble]);