Member group
TryParse
Declaring type: DecimalExtensions
Namespace: System
Assembly: Raven.Core.dll
Source file: Parse.rvn
Overloads / Variants
TryParse
static func TryParse(input: string?, style: NumberStyles, provider: IFormatProvider?) -> Optional<decimal>
Source file: Parse.rvn
Extension from DecimalExtensions.TryParse
Parses a decimal using the specified style and format provider.
Parameters
| Name | Type | Description |
|---|---|---|
input |
String? | |
style |
NumberStyles | |
provider |
IFormatProvider? |
Return value
Optional<Decimal>
TryParse
static func TryParse(input: string?) -> Optional<decimal>
Source file: Parse.rvn
Extension from DecimalExtensions.TryParse
Parses a decimal and returns Some on success or None on failure.
Parameters
| Name | Type | Description |
|---|---|---|
input |
String? |
Return value
Optional<Decimal>