Eclipse BIRT Report Object Model (ROM)

NumberFormatValue Structure

# Structure Overview

Used to format a numeric value.

### Details

Display Name: | Number Format Value
Since: | 1.0

### Property Summary

category
  Provides a list of pre-defined number formatter, General Number, Currency, Fixed, etc.
locale
pattern
  Pattern of the number formatter.

### Description

Provides a set of pre-defined number formatter, or user can define a customized formatter given a pattern.

# Property Detail

## category Property

Provides a list of pre-defined number formatter, General Number, Currency, Fixed, etc.

### Details

Type: | choice (numberFormat)
Since: | 1.0
Required: | No
Display Name: | Category
JavaScript Type: |
Default Value: | None
Runtime Settable: | Yes

### Choices

Name | Display Name | Value | Description
Unformatted | Unformatted | Unformatted |
General Number | General Number | General Number |
Currency | Currency | Currency |
Fixed | Fixed | Fixed |
Percent | Percent | Percent |
Scientific | Scientific | Scientific |
Standard | Standard | Standard |
Custom | Custom | Custom |

### Description

Allow user to choose from a list of pre-defined number formatter. Use a certain formatter to convert a "number" typed value using the given formatter.

## locale Property

### Details

Type: | locale
Since: | 2.5
Required: | No
Display Name: | Locale
JavaScript Type: |
Default Value: | None
Runtime Settable: | Yes

## pattern Property

Pattern of the number formatter.

### Details

Type: | string
Since: | 1.0
Required: | No
Display Name: | Pattern
JavaScript Type: |
Default Value: | None
Runtime Settable: | Yes

### Description

Pattern of the number formatter.