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