[]
Imposes the specified numeric formatting options on the current TextField, and assigns to it the specified value as a number.
public void SetNumberValue(double value, int decimalPlaces, Field.NumberSeparatorStyle separatorStyle, Field.NumberNegativeStyle negativeStyle, string currencySymbol, Field.CurrencySymbolStyle currencySymbolStyle)
Public Sub SetNumberValue(value As Double, decimalPlaces As Integer, separatorStyle As Field.NumberSeparatorStyle, negativeStyle As Field.NumberNegativeStyle, currencySymbol As String, currencySymbolStyle As Field.CurrencySymbolStyle)
Type | Name | Description |
---|---|---|
double | value | The value to assign. |
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 |