public class StringToDouble extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
StringToDouble() |
| Modifier and Type | Method and Description |
|---|---|
static StringToDouble |
getInstance()
Get the singleton instance
|
protected double |
signedPositiveInfinity() |
double |
stringToNumber(CharSequence s)
Convert a string to a double.
|
public static StringToDouble getInstance()
public double stringToNumber(CharSequence s) throws NumberFormatException
s - the String to be convertedNumberFormatException - if the value cannot be convertedprotected double signedPositiveInfinity()
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.