...
Description |
---|
Excerpt |
---|
Creates an accounting format string. |
Signature | ||||
---|---|---|---|---|
| ||||
public System.String CreateAccounting(int numDecimalPlaces, boolean useDollarSign, Color negativeColor)
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Function CreateAccounting(ByVal numDecimalPlaces As Integer, ByVal useDollarSign As Boolean, ByVal negativeColor As Color) As String
{signature}
{parameters}
{param:numDecimalPlaces}The number of decimal places to display.{param}
{param:useDollarSign}If {{true}}, the dollar sign will be displayed.{param}
{param:negativeColor}A color to use when displaying negative numbers. {{negativeColor}} may be null.{param}
{returns}An accounting format string.{returns}
{example}{code:csharp|title=C#} |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The number of decimal places to display. |
Param | ||||
---|---|---|---|---|
| ||||
If |
Param | ||||
---|---|---|---|---|
| ||||
A color to use when displaying negative numbers. |
Returns |
---|
An accounting format string. |
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|