Description
Creates a format string for displaying numbers.
C#
vb.net
Parameters
numDecimalPlaces
The number of decimal places to display.dropTrailingZeros
Iftrue, trailing zeros will be dropped. If false, trailing zeros will be displayed.
use1000Seperator
Iftrue, the 1000 separator (,) will be displayed.
useNegativeSign
Iftrue, the negative sign will be used.
useParensForNegatives
Iftrue, 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
