| 199 | |
| 200 | template <typename Decimal> |
| 201 | gchar * |
| 202 | garrow_decimal_to_string_scale(typename DecimalConverter<Decimal>::GArrowType *decimal, |
| 203 | gint32 scale) |
| 204 | { |
| 205 | DecimalConverter<Decimal> converter; |
| 206 | const auto arrow_decimal = converter.get_raw(decimal); |
| 207 | const auto string = arrow_decimal->ToString(scale); |
| 208 | return g_strdup(string.c_str()); |
| 209 | } |
| 210 | |
| 211 | template <typename Decimal> |
| 212 | gchar * |