Method

ArrowDecimal128rescale

Declaration [src]

GArrowDecimal128*
garrow_decimal128_rescale (
  GArrowDecimal128* decimal,
  gint32 original_scale,
  gint32 new_scale,
  GError** error
)

Description

No description available.
Available since:0.15.0

Parameters

original_scale gint32
 

A scale to be converted from.

new_scale gint32
 

A scale to be converted to.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GArrowDecimal128
 

The rescaled decimal or NULL on error.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.