public interface ITypeConversionHelper
ITypeConversionHelper provides access methods used for
converting data during document generation. The
ITypeConversionHelper can be referenced directly within a
document template by its name typeConversionHelper.
| Modifier and Type | Method and Description |
|---|---|
double |
parseDouble(java.lang.String s)
parseDouble
Returns a new double initialized to the value represented by the
specified String, as performed by the valueOf method of class
java.lang.Double
|
int |
parseInt(java.lang.String s)
parseInt
Parses the string argument as a signed decimal integer.
|
int parseInt(java.lang.String s)
Parses the string argument as a signed decimal integer. The characters in the string must all be decimal digits, except that the first character may be an ASCII minus sign '-' ('-') to indicate a negative value.
s - a String containing the int representation to be parsedjava.lang.NumberFormatException - if the string was not parsabledouble parseDouble(java.lang.String s)
Returns a new double initialized to the value represented by the specified String, as performed by the valueOf method of class java.lang.Double
s - a String containing the double representation to be parsedjava.lang.NumberFormatException - if the string was not parsable