# Class: com.pnfsoftware.jeb.util.format.NumberFormatter

A number formatter, supporting formatting of immediates of variable sizes using different bases and other properties \(e.g., signedness\). 

 Notes: 
 
- maximum size: 64\-bit 
- signedness: applicable to octal/decimal/hexadecimal bases only; N/A for binary or ascii formatting

## Constructor: NumberFormatter


## Constructor: NumberFormatter
- parameter: `defaultNumberFormatter`, type: `com.pnfsoftware.jeb.util.format.NumberFormatter`

Description: 
parameter: defaultNumberFormatter: 

## Method: format
- parameter: `bitsize`, type: `int`
- parameter: `rawValue`, type: `long`
- return type: `java.lang.String`

Description: Format a number using the formatter's current settings.

## Method: format
- parameter: `bitsize`, type: `int`
- parameter: `rawValue`, type: `long`
- parameter: `base`, type: `com.pnfsoftware.jeb.util.format.NumberFormatter.Base`
- parameter: `treatAsSignedNumber`, type: `boolean`
- return type: `java.lang.String`


## Method: getBase
- return type: `com.pnfsoftware.jeb.util.format.NumberFormatter.Base`


## Method: getNotationType
- return type: `com.pnfsoftware.jeb.util.format.NumberFormatter.NotationType`


## Method: isSignedNumber
- return type: `boolean`


## Method: rotateBase
- return type: `com.pnfsoftware.jeb.util.format.NumberFormatter.Base`


## Method: setBase
- parameter: `base`, type: `com.pnfsoftware.jeb.util.format.NumberFormatter.Base`


## Method: setNotationType
- parameter: `notationType`, type: `com.pnfsoftware.jeb.util.format.NumberFormatter.NotationType`


## Method: setSignedNumber
- parameter: `signedNumber`, type: `boolean`


