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