本文整理了Java中org.bson.types.Decimal128.getHigh()
方法的一些代码示例,展示了Decimal128.getHigh()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Decimal128.getHigh()
方法的具体详情如下:
包路径:org.bson.types.Decimal128
类名称:Decimal128
方法名:getHigh
[英]Gets the high-order 64 bits of the IEEE 754-2008 128-bit decimal floating point encoding for this Decimal128, using the BID encoding scheme.
[中]使用BID编码方案获取此小数128的IEEE 754-2008 128位十进制浮点编码的高阶64位。
代码示例来源:origin: org.mongodb/mongo-java-driver
@Override
protected void doWriteDecimal128(final Decimal128 value) {
bsonOutput.writeByte(BsonType.DECIMAL128.getValue());
writeCurrentName();
bsonOutput.writeInt64(value.getLow());
bsonOutput.writeInt64(value.getHigh());
}
代码示例来源:origin: com.torodb.mongowp.bson/org-bson-utils
value.asDecimal128().decimal128Value().getHigh(),
value.asDecimal128().decimal128Value().getLow());
case JAVASCRIPT_WITH_SCOPE: {
内容来源于网络,如有侵权,请联系作者删除!