MCPcopy Create free account
hub / github.com/apache/arrow / Decimal32

Method Decimal32

cpp/src/arrow/util/decimal.cc:497–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495} // namespace
496
497Decimal32::Decimal32(const std::string& str) : Decimal32() {
498 *this = FromString(str).ValueOrDie();
499}
500
501Result<Decimal32> Decimal32::FromReal(float x, int32_t precision, int32_t scale) {
502 return Decimal32RealConversion::FromReal(x, precision, scale);

Callers 2

random_decimalsFunction · 0.45

Calls 2

FromStringFunction · 0.85
ValueOrDieMethod · 0.80

Tested by 1

random_decimalsFunction · 0.36