|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.util.math.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(java.lang.String str)
Convert a string to a double. |
static int |
string2int(java.lang.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(java.lang.String str)
str - The string.
public static int string2int(java.lang.String str)
str - The string.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||