Page tree
Skip to end of metadata
Go to start of metadata

Description

Creates a format string for displaying currency values.

C#
vb.net

Parameters

numDecimalPlaces
The number of decimal places to display.
useDollarSign
If true, the dollar sign will be displayed.
useNegativeSign
If true, the negative sign will be used for negative values.
useParensForNegatives
If true, negative numbers will be shown in parentheses.
negativeColor
A color to use when displaying negative numbers. negativeColor may be null.

Returns

A currency format string.

Examples

C#
vb.net
  • No labels