phelps.lang
public class Floats extends Object
Version: $Revision: 1.1 $ $Date: 2003/02/02 11:55:48 $
Field Summary | |
---|---|
static float | EPSILON If difference between two float s is less than this, then they should be considered equal. |
static Float | ONE |
static Float | ZERO |
Method Summary | |
---|---|
static Float | getFloat(float val) |
static float | parseFloat(String value, float defaultval)
Tries to parse value as an float ,
but if String is null or can't be parsed as an int returns defaultval . |
float
s is less than this, then they should be considered equal.float
,
but if String is null
or can't be parsed as an int
returns defaultval .