DecimalFraction

case object DecimalFraction extends Tag

The element following this tag is an array that contains exactly two integer numbers:

  1. Exponent e with base 10 (must be Int or Long, i.e. BigNum is disallowed)
  2. 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.

trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type MirroredMonoType = Singleton
Inherited from:
Singleton
type MirroredType = Singleton
Inherited from:
Singleton

Value members

Inherited methods

def @@[T](obj: T): TaggedValue[T]
Inherited from:
Tag
def fromProduct(p: Product): MirroredMonoType
Inherited from:
Singleton
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Inherited fields

final val code: Long
Inherited from:
Tag