These keywords allow you to enter the format for both positive and negative values.
There are 5 keywords to specify a format:
none
space
symbol
sign
value
A monetary format is a sequence of four of these keywords. Each value: symbol, sign, value, and either space or none appears exactly once. The value none, if present, is not first; the value space, if present, is neither first nor last. The behavior of breaking any of these rules is undefined.
The default pattern for positive and negative values, and for local and international formats is:
pos_format = symbol sign none value
neg_format = symbol sign none value
Notice that in the following listing not all of the fields have been specified because the default values for these fields were already correct. On the other hand, it does not hurt to specify default data to improve (human) readability in the data file.
To have the example code run correctly, we need a file named "Norwegian" containing the following data: $money_local_narrow decimal_point = ',' thousands_sep = ' ' curr_symbol = kr pos_format = sign value space symbol neg_format = sign value space symbol $money_international_narrow decimal_point = ',' thousands_sep = ' ' curr_symbol = "NOK "