Home How To Online Documentation Support Download Order
 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SANumeric::val

unsigned char val[SA_NUMERIC_MANTISSA_SIZE];

Remarks

A number stored as SA_NUMERIC_MANTISSA_SIZE-byte scaled integer, with the least-significant byte on the left.

SA_NUMERIC_MANTISSA_SIZE constant now defined as 32.

For example, the base 10 number 123.4567 is scaled to an integer 1234567, which is 12D687 in hexadecimal. The value stored in the SA_NUMERIC_MANTISSA_SIZE-byte integer is
87 D6 12 00 00 00 00 00 00 00 00 00 00 00 00 ..... 00 00 00.

See also

scale, sign, precision

Problems and Questions

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com.