Numberformat
The numberformat option specifies the format you want to use to display numbers.
Use this option if you want to change the default number format for the language of the message repository you are using.
The AIX®, Solaris, and HP-UX clients support locales other than English that describe every user interface that varies with location or language.
By 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
- query asr
- query backup
- query image
- query nas
- query systemstate
- restore
- restore image
- restore nas
- restore registry
- restore systemstate
- retrieve
- set event
Supported Clients
This option is valid for all clients.
Options File
Place 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.
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
This is the default for the following available translations:
- US English
- Japanese
- Chinese (Traditional)
- Chinese (Simplified)
- Korean
- 2
- 1,000,00
- 3
- 1 000,00
This is the default for the following available translations:
- French
- Czech
- Hungarian
- Polish
- Russian
- 4
- 1 000.00
- 5
- 1.000,00
This is the default for the following available translations:
- Brazilian Portuguese
- German
- Italian
- Spanish
- 6
- 1'000,00
For 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.
- 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.