Skip to content

Kotlin BSON • Based on the official MongoDB implementationopensavvy.ktmongo.bson.official.typesDecimal128

Decimal128

Binary integer decimal representation of a 128-bit decimal value, supporting 34 decimal digits of significand and an exponent range of -6143 to +6144.

actual typealias Decimal128 = org.bson.types.Decimal128

Functions

compareTo

expect open operator override fun compareTo(other: Decimal128): Int

toByte

expect open override fun toByte(): Byte

toChar

open fun toChar(): Char

toDouble

expect open override fun toDouble(): Double

toFloat

expect open override fun toFloat(): Float

toInt

expect open override fun toInt(): Int

toLong

expect open override fun toLong(): Long

toShort

expect open override fun toShort(): Short