Method
ParseAmount
func ParseAmount(text: string, culture: Culture) -> Result<Money, NumberParseError>
Declaring type: Currency
Module: System.Globalization
Assembly: System.Runtime.dll
Source file: Currency.rvn
Parses an amount with this expected currency and exact culture punctuation. Currency symbols/codes must match; an ambiguous symbol never selects another currency.
Parameters
| Name | Type | Description |
|---|---|---|
text |
String | |
culture |
Culture |