[]
Formats a value using the specified numeric formatting options.
public static string FormatNumberValue(double value, int decimalPlaces, Field.NumberSeparatorStyle separatorStyle, Field.NumberNegativeStyle negativeStyle, string currencySymbol, Field.CurrencySymbolStyle currencySymbolStyle)
| Type | Name | Description |
|---|---|---|
| double | value | The value to format. |
| int | decimalPlaces | The number of digits that appear to the right of the decimal point. Valid values are from 0 to 10, inclusive. |
| Field.NumberSeparatorStyle | separatorStyle | The placement of commas and periods, see Field.NumberSeparatorStyle. |
| Field.NumberNegativeStyle | negativeStyle | How negative numbers are displayed. |
| string | currencySymbol | The currency symbol, or null or empty string. |
| Field.CurrencySymbolStyle | currencySymbolStyle | The location of the currency symbol in relation to the number.
This parameter is meaningful only if |
| Type | Description |
|---|---|
| string |