HeaderPane
Main
Hide
Share Link
Print

FormatCurrency Method, SftMask Class

Formats an amount of money with the conventions of a culture.

Class: SftMask
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Syntax

public static string FormatCurrency(
    decimal value,
    int fracDigits,
    CultureInfo culture );
Public Shared Function FormatCurrency(
    ByVal value As Decimal,
    ByVal fracDigits As Integer,
    ByVal culture As CultureInfo
  ) As String

Parameters

value

The amount.

fracDigits

The number of fraction digits, or -1 for the culture's default.

culture

The culture, or null for the current culture.

Return Value

The formatted amount with the culture's currency symbol.

Comments

Formats an amount of money with the conventions of a culture.

See Also SftMask Class | Classes | SftMask/NET 3.0