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.

Oracle Solaris operating systemsAIX operating systemsThe AIX® and Solaris clients support locales other than English that describe every user interface that varies with location or language.

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX 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
  • Windows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsquery image
  • Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsquery nas
  • Windows operating systemsquery systemstate
  • restore
  • Windows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsrestore image
  • Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsrestore nas
  • Windows operating systemsrestore registry
  • retrieve
  • set event
Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systems

Supported Clients

This option is valid for all clients.

Options File

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX 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 diagramNUMberformat  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

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsThis is the default for the following available translations:

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systems
  • US English
  • Japanese
  • Chinese (Traditional)
  • Chinese (Simplified)
  • Korean
2
1,000,00
3
1 000,00

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsThis is the default for the following available translations:

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systems
  • French
  • Czech
  • Hungarian
  • Polish
  • Russian
4
1 000.00
5
1.000,00

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsThis is the default for the following available translations:

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systems
  • Brazilian Portuguese
  • German
  • Italian
  • Spanish
6
1'000,00

Oracle Solaris operating systemsAIX operating systemsFor AIX 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.

Oracle Solaris operating systemsAIX 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.