Member group
Format
Declaring type: Currency
Module: System.Globalization
Assembly: System.Runtime.dll
Source file: Currency.rvn
Overloads / Variants
Format
func Format(amount: decimal, culture: Culture) -> string
Source file: Currency.rvn
Formats an amount using this currency's display precision and explicit culture. Display rounding leaves the input unchanged; no conversion or cash rounding occurs.
Parameters
| Name | Type | Description |
|---|---|---|
amount |
Decimal | |
culture |
Culture |
Return value
Format
func Format(amount: decimal, precision: int, culture: Culture) -> string
Source file: Currency.rvn
Formats with explicit fractional precision from zero through 99; invalid precision faults.
Parameters
| Name | Type | Description |
|---|---|---|
amount |
Decimal | |
precision |
Int32 | |
culture |
Culture |