Version

Using Display Factor in WebCurrencyEditor

WebCurrencyEditor™ allows you to set a factor that multiplies the value in the control and displays it as the text in the editor. For example, if the display factor is 100 and the end user enters 80 into the editor (which is reflected by the control’s Text property), then the editor’s Value property will be 0.8. You can set the display factor by simply setting the control’s DisplayFactor property. By default, this property is set to 1.

In Visual Basic:

WebCurrencyEditor1.DisplayFactor = 10

In C#:

WebCurrencyEditor1.DisplayFactor = 10;