 | StringUtilsParseDecimal Method |
Parses an string into an decimal. If the value can't be parsed
a default value is returned instead
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static decimal ParseDecimal(
string input,
decimal defaultValue,
IFormatProvider numberFormat
)
Public Shared Function ParseDecimal (
input As String,
defaultValue As Decimal,
numberFormat As IFormatProvider
) As Decimal
public:
static Decimal ParseDecimal(
String^ input,
Decimal defaultValue,
IFormatProvider^ numberFormat
)
static member ParseDecimal :
input : string *
defaultValue : decimal *
numberFormat : IFormatProvider -> decimal
Parameters
- input
- Type: SystemString
The input. - defaultValue
- Type: SystemDecimal
The default value. - numberFormat
- Type: SystemIFormatProvider
The number format.
Return Value
Type:
Decimal[Missing <returns> documentation for "M:Koden.Utils.StringUtils.ParseDecimal(System.String,System.Decimal,System.IFormatProvider)"]
See Also