Pip-Services-Commons-Dotnet
|
Converts arbitrary values into float using extended conversion rules: More...
Static Public Member Functions | |
static float | ToNullableFloat (object value) |
Converts value into float or returns null when conversion is not possible. More... | |
static float | ToFloat (object value) |
Converts value into float or returns 0 when conversion is not possible. More... | |
static float | ToFloatWithDefault (object value, float defaultValue) |
Converts value into float or returns default when conversion is not possible. More... | |
Converts arbitrary values into float using extended conversion rules:
|
static |
Converts value into float or returns 0 when conversion is not possible.
value | the value to convert. |
|
static |
Converts value into float or returns default when conversion is not possible.
value | the value to convert. |
defaultValue | the default value |
|
static |
Converts value into float or returns null when conversion is not possible.
value | the value to convert. |