How to: |
Countries differ in the way they punctuate numbers. You can reflect these differences in WebFOCUS reports using Continental Decimal Notation (CDN), specified with the SET CDN command. This command enables you to control the punctuation of large numbers, using commas, decimals, spaces, or single quotation marks.
You can use the SET CDN command in a report request but not in a DEFINE or COMPUTE command.
The punctuation specified by the SET CDN command also determines the punctuation used in numbers affected by the SET CENT-ZERO command. For more information on that command, see Displaying a Leading Zero in Decimal-only Numbers.
For Excel 2000 or later: If the display format of a WebFOCUS report is Excel 2000 or later, Continental Decimal Notation is controlled by the settings on an end user computer. That is, numbers in report output are formatted according to the convention of the locale (location) set in regional or browser language options.
SET CDN = option
where:
Is one of the following:
Note: If the display format of a report is Excel 2000 or later, Continental Decimal Notation is controlled by the settings on the user computer. That is, numbers in report output are formatted according to the convention of the locale (location) set in regional or browser language options.
In the following request, CDN is set to ON, which punctuates numbers using a period to separate thousands, and a comma to separate the decimal value.
SET CDN = ON SET PAGE-NUM = OFF TABLE FILE EMPLOYEE PRINT LAST_NAME FIRST_NAME SALARY ON TABLE SET STYLE * TYPE = REPORT, GRID = OFF,$ ENDSTYLE END
The partial output is:
WebFOCUS | |
Feedback |