class BSON::Decimal128

def from_bits(low, high)

Other tags:
    Since: - 4.2.0

Returns:
  • (BSON::Decimal128) - The new decimal128.

Parameters:
  • low (Integer) -- The low order bits.
  • high (Integer) -- The high order bits.

Other tags:
    Example: Create a Decimal128 from high and low bits. -
def from_bits(low, high)
  decimal = allocate
  decimal.send(:set_bits, low, high)
  decimal
end