- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 25 of file StringNumber.java.
◆ toBoolean()
static Boolean org.turro.math.StringNumber.toBoolean |
( |
String |
value | ) |
|
|
static |
◆ toDouble()
static Double org.turro.math.StringNumber.toDouble |
( |
String |
value | ) |
|
|
static |
Definition at line 43 of file StringNumber.java.
45 return Double.parseDouble(value);
46 }
catch(NumberFormatException ex) {
◆ toInteger()
static Integer org.turro.math.StringNumber.toInteger |
( |
String |
value | ) |
|
|
static |
Definition at line 27 of file StringNumber.java.
29 return Integer.parseInt(value);
30 }
catch(NumberFormatException ex) {
◆ toLong()
static Long org.turro.math.StringNumber.toLong |
( |
String |
value | ) |
|
|
static |
Definition at line 35 of file StringNumber.java.
37 return Long.parseLong(value);
38 }
catch(NumberFormatException ex) {
The documentation for this class was generated from the following file: