[]
Imposes the specified percentage formatting options on the current TextField, and assigns to it the specified value as percentage.
public void SetPercentValue(double value, int decimalPlaces, Field.NumberSeparatorStyle separatorStyle)
| Type | Name | Description |
|---|---|---|
| double | value | The percentage value to assign. For example, 1 corresponds to 100%, 0.5 to 50%, and so on. |
| 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. |