common Decimal128¶ Decimal128 A 128-bit floating-point number. See also¶ BsonValue.decodeDecimal128Bytes: Read this type. BsonFieldWriter.writeDecimal128: Write this type. Properties¶ code¶ val code: Byte The byte identifier for this particular type. Guaranteed to be in the range -1 (MinKey) to 127 (MaxKey). name¶ expect val name: String ordinal¶ expect val ordinal: Int