Float¶
Definition¶
Extends¶
Extended By¶
None
Description¶
A number of type Float.
Method Summary¶
Owner | Name | Return Type | Description |
---|---|---|---|
Float | constructor(value) | Object | Initialize a 32 bit Float object. |
Float | byteValue() | Byte | Returns the value of this Float as a Byte after a narrowing primitive conversion. |
Object | getClassName() | String | Returns the string name of this object's class type. |
Float | isFinite() | Boolean | Returns "true" if this Float has a finite value; returns "false" otherwise (for NaN and infinity arguments). |
Float | isInfinite() | Boolean | Returns "true" if this Float is infinitely large in magnitude, "false" otherwise. |
Float | isNaN() | Boolean | Returns "true" if this Float instance is Not-a-Number (NaN) value, "false" otherwise. |
Object | toJson() | String | Returns a string of a json representation of this object. |
Method Definitions¶
constructor(value)¶
Float float = new Float(Float value)
Description¶
Initialize a 32 bit Float object.
Parameter Definition¶
Name | Type | Description |
---|---|---|
value | Float | a float value |
Example 1¶
byteValue()¶
Description¶
Returns the value of this Float as a Byte after a narrowing primitive conversion.
Example 1¶
getClassName()¶
Description¶
Returns the string name of this object's class type.
isFinite()¶
Description¶
Returns "true" if this Float has a finite value; returns "false" otherwise (for NaN and infinity arguments).
Example 1¶
isInfinite()¶
Description¶
Returns "true" if this Float is infinitely large in magnitude, "false" otherwise.
Example 1¶
isNaN()¶
Description¶
Returns "true" if this Float instance is Not-a-Number (NaN) value, "false" otherwise.
Example 1¶
toJson()¶
Description¶
Returns a string of a json representation of this object.