DecimalFraction
io.bullet.borer.Tag.DecimalFraction
case object DecimalFraction extends Tag
The element following this tag is an array that contains exactly two integer numbers:
- Exponent e with base 10 (must be Int or Long, i.e. BigNum is disallowed)
- Mantissa m (Int, Long or BigNum) The value of the decimal fraction is m*(10**e).
NOTE: This tag isn't actually ever produced by the CBOR parser, since it has built-in support for it and immediately produces a java.math.BigDecimal instead.
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Tagclass Objecttrait Matchableclass Any
- Self type
-
DecimalFraction.type
Members list
In this article