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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

Creates a format string for displaying numbers.

C#
vb.net

Parameters

numDecimalPlaces
The number of decimal places to display.
dropTrailingZeros
If true, trailing zeros will be dropped. If false, trailing zeros will be displayed.
use1000Seperator
If true, the 1000 separator (,) will be displayed.
useNegativeSign
If true, the negative sign will be used.
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 number format string.

Examples

C#
vb.net
  • No labels