NumberBox

Top  Previous  Next

CurrencyBox is based on an EditBox element that lets the user to input in a controlled way. It allows the user to input only numeric digits, a sign character ("-") and the decimal symbol character. Thousand grouping separators are inserted automatically depending on the number of digits entered.

The thousand grouping separator and the decimal symbol character are determined automatically depending on the page language.
 

NumberBox

 

Properties

Allow Sign Character

When this Boolean property is set to true then the user is allowed to enter "-" sign at the beginning of the numeric digits; otherwise the user cannot enter the sign character.

Precision Digits

The number of the precision digits that user can enter after the decimal point symbol.

Round The Displayed Value

Specify "true" to round the displayed value

Pad Zeros

Specify true to pad zeros at the right side when precision digits are less than the specified.

 

Initial Value:

The initial value can be either a static value or a dynamic value bind with a $vof() function. The value must be a valid decimal number that may contain a decimal point character (".").

 

Validation

See the topic "Validating User's Input" in the main help file for general explanations about validation.