Member group
Parse
Declaring type: Decimal
Module: System
Assembly: System.Runtime.dll
Source file: Decimal.rvn
Overloads / Variants
Parse
static func Parse(text: string, culture: Culture) -> Result<decimal, NumberParseError>
Source file: Decimal.rvn
Parses explicit culture punctuation using the shared strict grouping policy.
Parameters
| Name | Type | Description |
|---|---|---|
text |
String | |
culture |
Culture |
Return value
Result<Decimal, NumberParseError>
Parse
static func Parse(text: string) -> Result<decimal, NumberParseError>
Source file: Decimal.rvn
Parses strict invariant decimal text with an optional sign and decimal point. Whitespace, exponent notation and group separators are not accepted.
Parameters
| Name | Type | Description |
|---|---|---|
text |
String |