Arbitrary-precision integer.

Attributes

cass_int32_t

scale

CassBytes

varint

Functions

CassDecimal

cass_decimal_init

( scale, varint )

Constructs a decimal object.

Note: This does not allocate memory. The object wraps the pointer passed into this function.

Parameters:
Name Type Details
in scale
in varint
Returns:
Type Details
CassDecimal

A decimal object.