6.3.5.2 DataTypePacked

Constructors

DataTypePacked ( int digits )

DataTypePacked ( int digits, int scale )

 

Methods

int getType ()

int getByteLength ()

int getDigits ()

int getScale ()

byte[] toByteArray ( Object data )

String toString ( byte[] byteArray )

 

Example

DataType dataType = new DataTypePacked ( 10, 2 )

byte[] byteArray = dataType.toByteArray ( "240.00" ) ;