decimalFormat

decimalFormat

Description

This setting controls decimal formatting for the pjs.char() and pjs.editCode() functions. The only accepted values are I and J; when either is set, a comma is used as the decimal character. When the option is not set, a dot is used.

decimalFormat affects both the decimal character and the thousands separator:

  • Not set - Decimal place: dot (.); thousands separator: comma (,). For example, 1,234.56;

  • Set to I or J - Decimal place: comma (,); thousands separator: dot (.). For example, 1.234,56.

Example

Format numbers for a European locale, using a comma for the decimal character and a dot for the thousands separator:

decimalFormat: "I"

For information on how to modify this setting, see Configuration File.