Member group
Parse
Declaring type: Int32
Module: System
Assembly: System.Runtime.dll
Source file: Int32.rvn
Overloads / Variants
Parse
static func Parse(text: string, culture: Culture) -> Result<int, NumberParseError>
Source file: Int32.rvn
Parses explicit culture punctuation with strict three-digit grouping; whitespace is not accepted.
Parameters
| Name | Type | Description |
|---|---|---|
text |
String | |
culture |
Culture |
Return value
Result<Int32, NumberParseError>
Parse
static func Parse(value: string) -> Result<int, NumberParseError>
Source file: Int32.rvn
Parses an Int32, returning InvalidFormat or Overflow when the input cannot be represented.
Parameters
| Name | Type | Description |
|---|---|---|
value |
String | The value on which this operation acts. |