Monetary amount Customize fields
Minimum
In the Minimum field, type the lower limit for the range of values that will be accepted as valid.
Maximum
In the Maximum field, type the upper limit for the range of values that will be accepted as valid.
Negative sign
In the Negative sign field, type the character or combination of characters that will display alongside the numeral to indicate a negative value. The default is a minus sign (-).
Positive Sign
In the Positive Sign field, type the character or combination of characters that will display alongside the numeral to indicate a positive value. The default is no positive sign.
1000s separator
In the 1000s separator field, type the character or combination of characters to use as the thousands separator. The default separator depends upon the locale defaults for your system.
If you do not specify a value in this field, the display output does not contain any separator characters.
Decimal point
In the Decimal point field, type the character you want to use as a decimal point.
The default decimal point depends upon the locale defaults for your system.
Fractional digits
In the Fractional digits field, type the number of digits to the right of the decimal point you want to be retained.
If the user types more digits than what you specify, then the number is rounded; for example, 1.367 is rounded to 1.37 when you specify 2 digits. If the user types less digits than what you specify, the number is padded with zeros; for example, 1.1 is rounded to 1.100 when you specify 3 digits.
Currency symbol
In the Currency symbol field, type the currency symbol to use. The default currency symbol depends upon the locale defaults for your system.
Currency symbol position
From the Currency symbol position box, specify where the currency symbol should appear relative to the numerals. Select either After digits or Before digits.
Values from country
Select Values from country to display a list from which you select a language and location pair. After you select a language and location pair, the applicable fields are filled in automatically with the appropriate separators, currency signs, or other values that vary with nationality.
Note:
The first time you select Values from country after starting VA Smalltalk, you may experience a delay as VA Smalltalk reads the available locale information from your system.
Spacing
Under Spacing, select one of the following ways to space should appear between the currency symbol and the numerals or between the positive/negative sign and the currency sign:
-$123
-$ 123
- $123
Sign style
In the Sign style field, specify where the positive or negative sign should appear relative to the numerals:
($1.23) $1.23
Select ($1.23) $1.23 to have a negative monetary amount, including the currency symbol, placed in parentheses. If a negative symbol has been specified, it will not be displayed.
-$1.23 $1.23
Select -$1.23 $1.23 to have the positive or negative symbol placed to the left of the monetary amount, including the currency symbol. If you select -$1.23 $1.23, the positive or negative sign will always be the first character in the monetary amount.
$1.23- $1.23
Select $1.23- $1.23 to have the positive or negative symbol placed after the monetary amount, including currency symbol. If you select $1.23- $1.23, the positive or negative sign will always be the last character in the monetary amount.
-$1.23 $1.23
Select -$1.23 $1.23 to have the positive or negative symbol placed immediately before the currency symbol in the monetary amount.
Note:
If you have selected to have the currency symbol placed before the numerals, this choice and the first choice are identical. However, if you select to have the currency symbol after the numerals, this choice keeps the positive or negative sign immediately to the left of the currency sign (and therefore after the numerals).
$-1.23 $1.23
Select $-1.23 $1.23 to have the positive or negative symbol placed immediately after the currency symbol in the monetary amount.
Note:
If you have selected to have the currency symbol placed after the numerals, this choice and the third choice are identical. However, if you select to have the currency symbol before the numerals, this choice keeps the positive or negative sign immediately to the right of the currency sign (and therefore before the numerals).
Default value
Under Default value, select one of the following the default values to use if the field does not receive a value at run time:
Current date
Set the default date to the current system date at run time.
Constant date
Set the default to the value specified in the adjacent field.
None
No default value is provided.
Note:
For a part that receives direct user input (such as a text entry field), the value specified in the Default field is used only if a user interacts with the field but leaves it empty. If the field never receives input focus, its value remains nil.
Preview
Use the Preview fields to preview how the current settings values affect the object that will be created based on the input value. The area to the right of the text entry field shows how the text in that field is converted into the appropriate data type based upon the current settings.
If the displayed value is wider than the display area, use the left arrowor right arrowbutton to scroll the contents.
Note:
Depending upon the selections you have made in other fields, the appearance of these choices may be different from what is listed here.
Last modified date: 08/17/2018