|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.mathutil.Convert
public final class Convert
This class is used to convert strings into numeric values. If the string holds a non-numeric value, a zero is returned.
| Method Summary | |
|---|---|
static double |
string2double(String str)
Convert a string to a double. |
static int |
string2int(String str)
Convert a string to an int. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static double string2double(String str)
str - The string.
public static int string2int(String str)
str - The string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||