A collection of static methods to perform conversions between strings and double values. More...
#include <DoubleWrapper.h>
Static Public Member Functions | |
static double | parseDouble (const string &s) throw (NumberFormatException) |
Parse a string supposed to represent a double value and returns this value. | |
static string | toString (double d) |
Encode a double value into its string representation. | |
Static Public Attributes | |
static const double | MAX_VALUE |
The maximum value for a double. | |
static const double | MIN_VALUE |
The minimum value for a double. |
A collection of static methods to perform conversions between strings and double values.
Definition at line 39 of file DoubleWrapper.h.
static double asdm::Double::parseDouble | ( | const string & | s | ) | throw (NumberFormatException) [static] |
Parse a string supposed to represent a double value and returns this value.
s | the string to parse |
NumberFormatException. |
static string asdm::Double::toString | ( | double | d | ) | [static] |
Encode a double value into its string representation.
d | the double value to be encoded. |
const double asdm::Double::MAX_VALUE [static] |
The maximum value for a double.
Definition at line 60 of file DoubleWrapper.h.
const double asdm::Double::MIN_VALUE [static] |
The minimum value for a double.
Definition at line 65 of file DoubleWrapper.h.