toBooleanValue

Converts a double to a boolean. 1.0 is true. Double.NEGATIVE_INFINITY is mapped to false, Double.POSITIVE_INFINITY is mapped to true, any other double values other are mapped to false.

Return

the converted value

Parameters

value

the value to convert