asDecimal128

fun asDecimal128(): BsonDecimal128

Gets this value as a BsonDecimal128 if it is one, otherwise throws exception

Return

a BsonDecimal128

Throws

if this value is not of the expected type