Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs


Usage

Examples

SANumeric

Construction / Destruction

SANumeric Constructs a SANumeric object

Data Members

precision The maximum number of digits in base 10.
scale The number of digits to the right of the decimal point.
sign The sign: 1 for positive numbers, 0 for negative numbers.
val A number stored as 32-byte scaled integer, with the least-significant byte on the left. Actually the size of val is defined by SA_NUMERIC_MANTISSA_SIZE constant value.

Operators

operator double Returns value as double data.
operator sa_int64_t / operator sa_uint64_t
Returns value as signed or unsigned 64-bit integer data.
operator SAString Returns value as string data (SAString).
operator = Assigns a new value to SANumeric object.