CurveExpert Professional 2.7.3 documentation

Localization

Executive Summary

CurveExpert Professional localizes itself to the same region as the operating system you are running on by default; therefore you should see the appropriate treatment of decimal points (either a comma, or a dot) throughout the application. If you do not want this behavior, but want to operate in English only, uncheck the Use local region settings box and restart CurveExpert Professional.

CurveExpert Professional offers the ability, when it is reading/writing data to/from the clipboard or a file, to allow the user to specify what style of decimals to use for this, presuming that it differs from the default locale.

  • If you need to read files that use the dot-decimal notation most often, select “English” for File I/O numeric format; same comments apply for the clipboard format.

  • If you need to read files that use the comma-decimal notation most often, select “European” for “File I/O numeric format”; same comments apply for the clipboard format.

Configuring CurveExpert Professional to match your workflow

Use local region settings

The Use local region settings checkbox is by default checked, and will cause the application to use your native language style for numerical formatting. This is the desired behavior in most situations. However, if you want to operate the software in English only mode (decimals will always be dots), deselect this checkbox. If you change this setting, you must restart CurveExpert Professional for the change to take effect.

File I/O numeric format

The Edit->Preferences->Localization->File I/O numeric format choice allows you to override the application-wide locale setting for file input/output, to explicitly define the numeric format for reading and writing files. This affects the file import dialog as well as File->Export, and the table generator in the Result Details window. With this setting, for example, users that utilize commas for decimals in CurveExpert Professional can choose to read and write files using dots for decimals. And vice versa.

Note

In the file import dialog (see Raw file import), there is still a chance to change the numeric format before reading the file. This setting simply sets the default numeric format in that dialog appropriately.

Clipboard I/O numeric format

The Edit->Preferences->Localization->Clipboard I/O numeric format choice allows you to override the application-wide locale setting for clipboard input/output, to explicitly define the numeric format for copying and pasting. This affects the copy/paste in the spreadsheet, as well as copying numeric data out any window that might offer it. With this setting, for example, users that utilize commas for decimals in CurveExpert Professional can choose to copy and paste data to/from the clipboard using dots for decimals. And vice versa.

File Import: numeric format

In the file import dialog (File->Open), there is a switch to explicitly pick the numerical formatting (English or European style) before reading the file. This gives the user the opportunity, on a file-by-file basis, to specify the numerical format. See Raw file import.

File overrides

If your file contains the following within the first ten lines of the file:

#DataFileProperties: locale=EN

or:

#DataFileProperties: locale=EURO

this signals to the CurveExpert Professional file importing mechanism that the the file uses English or European numerical formatting (as appropriate), and the default there (see Raw file import) will be set appropriately. The user may still override the default, however, but in most cases this would be a bad idea, because the file itself is stating what the correct locale is.

So, you can use this capability in your own data files if you like. All of the sample data files shipped with CurveExpert Professional contain this line, so that the samples work straightforwardly regardless of the application’s current region settings. This small addition to a text datafile lets the file itself express its own numerical formatting.

CurveExpert Professional files

CurveExpert Professional files (.cxp) are not affected by region settings; therefore, they are portable across localities as well as being portable across platforms (Windows, Mac, Linux).

NIST verification files

The data files associated with the NIST datasets are explicitly US-locale, and are treated as such when they are read in as a result of Tools->Run NIST Validation performed within CurveExpert Professional (see Validation). However, if you read these files in yourself, note that you MUST select an English numerical formatting in the file import dialog, if it is not already set.