Class

za.co.absa.cobrix.cobol.parser.ast.datatype

Decimal

Related Doc: package datatype

Permalink

case class Decimal(pic: String, scale: Int, precision: Int, scaleFactor: Int, explicitDecimal: Boolean = false, signPosition: Option[Position] = None, isSignSeparate: Boolean = false, wordAlligned: Option[Position] = None, compact: Option[Usage] = None, enc: Option[Encoding] = None, originalPic: Option[String] = None) extends CobolType with Product with Serializable

The Decimal data type

scale

A scale that is the number of fracture decimal digits in a number

precision

A precision that is the number of digits in a number

scaleFactor

A number of digits to shift the decimal points to

signPosition

A position of a sign in the numeric representation

wordAlligned

An alignment type

compact

A type of binary number representation format

enc

An encoding

Linear Supertypes
Serializable, Serializable, Product, Equals, CobolType, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Decimal
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CobolType
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Decimal(pic: String, scale: Int, precision: Int, scaleFactor: Int, explicitDecimal: Boolean = false, signPosition: Option[Position] = None, isSignSeparate: Boolean = false, wordAlligned: Option[Position] = None, compact: Option[Usage] = None, enc: Option[Encoding] = None, originalPic: Option[String] = None)

    Permalink

    scale

    A scale that is the number of fracture decimal digits in a number

    precision

    A precision that is the number of digits in a number

    scaleFactor

    A number of digits to shift the decimal points to

    signPosition

    A position of a sign in the numeric representation

    wordAlligned

    An alignment type

    compact

    A type of binary number representation format

    enc

    An encoding

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val compact: Option[Usage]

    Permalink

    A type of binary number representation format

  7. val enc: Option[Encoding]

    Permalink

    An encoding

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. val explicitDecimal: Boolean

    Permalink
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getEffectivePrecision: Int

    Permalink

    Returns the precision of the actual number after scale factor is applied

  13. def getEffectiveScale: Int

    Permalink

    Returns the scale of the actual number after scale factor is applied

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val isSignSeparate: Boolean

    Permalink
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val originalPic: Option[String]

    Permalink
    Definition Classes
    DecimalCobolType
  20. val pic: String

    Permalink
    Definition Classes
    DecimalCobolType
  21. val precision: Int

    Permalink

    A precision that is the number of digits in a number

  22. val scale: Int

    Permalink

    A scale that is the number of fracture decimal digits in a number

  23. val scaleFactor: Int

    Permalink

    A number of digits to shift the decimal points to

  24. val signPosition: Option[Position]

    Permalink

    A position of a sign in the numeric representation

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. val wordAlligned: Option[Position]

    Permalink

    An alignment type

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CobolType

Inherited from AnyRef

Inherited from Any

Ungrouped