A collection of static methods to perform conversions between strings and double values.
More...
#include <DoubleWrapper.h>
|
static double | parseDouble (const std::string &s) throw (NumberFormatException) |
| Parse a string supposed to represent a double value and returns this value. More...
|
|
static std::string | toString (double d) |
| Encode a double value into its string representation. More...
|
|
A collection of static methods to perform conversions between strings and double values.
Definition at line 37 of file DoubleWrapper.h.
Parse a string supposed to represent a double value and returns this value.
- Parameters
-
- Returns
- a double.
- Exceptions
-
static std::string asdm::Double::toString |
( |
double |
d | ) |
|
|
static |
Encode a double value into its string representation.
- Parameters
-
d | the double value to be encoded. |
- Returns
- the string representing the double value passed as parameter.
Referenced by asdm::Complex::toString().
const double asdm::Double::MAX_VALUE |
|
static |
const double asdm::Double::MIN_VALUE |
|
static |
The documentation for this class was generated from the following file: