Numberformat

The numberformat option specifies the format you want to use to display numbers.

Windows operating systemsUse this option if you want to change the default number format for the language of the message repository you are using.

AIX operating systemsHP-UX operating systemsOracle Solaris operating systemsThe AIX®, Solaris, and HP-UX clients support locales other than English that describe every user interface that varies with location or language.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsBy default, the backup-archive and administrative clients obtain format information from the locale definition in effect at the time the client is called. Consult the documentation on your local system for details about setting up your locale definition.

Note: The numberformat option does not affect the web client. The web client uses the number format for the locale that the browser is running in. If the browser is not running in a supported locale, the web client uses the number format for US English.

You can use the numberformat option with the following commands:

  • delete archive
  • delete backup
  • expire
  • query archive
  • Windows operating systemsquery asr
  • query backup
  • AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systemsquery image
  • AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsAIX operating systemsMac OS X operating systemsWindows operating systemsquery nas
  • Windows operating systemsquery systemstate
  • restore
  • AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systemsrestore image
  • AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsrestore nas
  • Windows operating systemsrestore registry
  • Windows operating systemsrestore systemstate
  • retrieve
  • set event
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems

Supported Clients

This option is valid for all clients.

Options File

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsPlace this option in the client user-options file (dsm.opt). You can set this option on the Regional Settings tab, Number Format field of the Preferences editor.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-NUMberformat-- --number-------------------------------------><

Parameters

number
Displays numbers using any one of the following formats. Specify the number (0–6) that corresponds to the number format you want to use.
0
Use the locale-specified date format. This is the default (does not apply to Mac OS X).
1
1,000.00

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsThis is the default for the following available translations:

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems
  • US English
  • Japanese
  • Chinese (Traditional)
  • Chinese (Simplified)
  • Korean
2
1,000,00
3
1 000,00

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsThis is the default for the following available translations:

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems
  • French
  • Czech
  • Hungarian
  • Polish
  • Russian
4
1 000.00
5
1.000,00

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsThis is the default for the following available translations:

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems
  • Brazilian Portuguese
  • German
  • Italian
  • Spanish
6
1'000,00

AIX operating systemsHP-UX operating systemsOracle Solaris operating systemsFor AIX, HP-UX, and Solaris: To define number formats, modify the following lines in the source file of your locale. Whatever format you select applies both to output and to input.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systems
decimal_point
The character that separates the whole number from its fractional part.
thousands_sep
The character that separates the hundreds from the thousands from the millions.
grouping
The number of digits in each group that is separated by the thousands_sep character.

Examples

Options file:
num 4
Command line:
-numberformat=4

This option is valid on the initial command line and in interactive mode. If you use this option in interactive mode, it affects only the command with which it is specified. When that command completes, the value reverts to the value at the beginning of the interactive session. This is the value from the dsm.opt file unless overridden by the initial command line or by an option forced by the server.