Description |
---|
Excerpt |
---|
Creates a format string for displaying currency values. |
Signature | ||||
---|---|---|---|---|
| ||||
public System.String CreateCurrency(int numDecimalPlaces, boolean useDollarSign, boolean useNegativeSign, boolean useParensForNegatives, Color negativeColor) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Function CreateCurrency(ByVal numDecimalPlaces As Integer, ByVal useDollarSign As Boolean, ByVal useNegativeSign As Boolean, ByVal useParensForNegatives As Boolean, ByVal negativeColor As Color) As String |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The number of decimal places to display. |
Param | ||||
---|---|---|---|---|
| ||||
If |
Param | ||||
---|---|---|---|---|
| ||||
If |
Param | ||||
---|---|---|---|---|
| ||||
If |
Param | ||||
---|---|---|---|---|
| ||||
A color to use when displaying negative numbers. |
Returns |
---|
A currency format string. |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|