# Numeric Display Format

Description | Usage | Method | See Also

## Description

The Numeric Display Format dialog is used to set up the numeric display of values in the Data Window. The display of any given variaqble can be customized, with the exception of DateObjects, which are internally managed by Draco.

## Usage

The dialog can be opened whenever a column is selected in the Data Window by selecting Column Operations->Set Numeric Display Format... from the Data Menu. The dialog appearing above will open. The program can accept a variety of formats. The general rules are:

Character | Behavior
# | Display a number if necessary or present
0 | Display a number if present, otherwise, display a zero

Other characters are simply printed as-is as specified by the formatting. Some examples appear below:

Format String | Behavior
0000 | Always display at least four figures without a decimal place 1234.2 will display as 1234 4.2 will display as 0004
#.000# | All numbers will display at least 3 decimal places, more if necessary 423.0 will display as 423.000 0.23 will display as .230 3.14159 will display as 3.1416
$#0.00 | All values will start with a U.S. dollar sign and contain 2 decimal places 113 will display as $113.00 0.042 will display as $0.04

To disable formatting, the arrow next to the text box can be pulled down, revealing a No Formatting option. Selecting this option will disable all number formatting.

## Method

All formatting is handled directly by the Java DecimalFormat class.

## See Also

Data Window

Copyright © 2008 Approximatrix, LLC
Text licensed under the Creative Commons Attribution-Share Alike 3.0 License
DracoTM and the Approximatrix logo are trademarks of Approximatrix, LLC
Other trademarks are property of their respective owners