\brief Convert Decimal32 from one scale to another
| 124 | |
| 125 | /// \brief Convert Decimal32 from one scale to another |
| 126 | Result<Decimal32> Rescale(int32_t original_scale, int32_t new_scale) const { |
| 127 | Decimal32 out; |
| 128 | ARROW_RETURN_NOT_OK(BasicDecimal32::Rescale(original_scale, new_scale, &out)); |
| 129 | return out; |
| 130 | } |
| 131 | |
| 132 | /// \brief Convert to a signed integer |
| 133 | template <typename T, typename = internal::EnableIfIsOneOf<T, int32_t, int64_t>> |
nothing calls this directly
no outgoing calls
no test coverage detected