Object

morphir.sdk

Decimal

Related Doc: package sdk

Permalink

object Decimal extends DecimalModuleCompat

Linear Supertypes
DecimalModuleCompat, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Decimal
  2. DecimalModuleCompat
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Decimal = BigDecimal

    Permalink

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. object Decimal

    Permalink
  5. def _toString: (Decimal) ⇒ String

    Permalink
  6. def abs(value: Decimal): Decimal

    Permalink

    Absolute value (sets the sign as positive)

  7. def add(a: Decimal)(b: Decimal): Decimal

    Permalink
  8. def apply(value: Int): Decimal

    Permalink
    Annotations
    @inline()
  9. def apply(value: Float): Decimal

    Permalink
    Annotations
    @inline()
  10. def apply(value: BigDecimal): Decimal

    Permalink
    Annotations
    @inline()
  11. def apply(value: BigDecimal): Decimal

    Permalink
    Annotations
    @inline()
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def bps(n: Int): Decimal

    Permalink
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def compare(a: Decimal)(b: Decimal): Order

    Permalink
  16. def div(a: Decimal)(b: Decimal): Maybe[Decimal]

    Permalink
  17. def divWithDefault(default: Decimal)(a: Decimal)(b: Decimal): Decimal

    Permalink
  18. def eq(a: Decimal)(b: Decimal): Bool

    Permalink
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def fromFloat(value: Float): Decimal

    Permalink

    Converts a Float to a Decimal

  23. def fromInt(value: Int): Decimal

    Permalink
  24. def fromString(value: String): Maybe[Decimal]

    Permalink
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def gt(a: Decimal)(b: Decimal): Bool

    Permalink
  27. def gte(a: Decimal)(b: Decimal): Bool

    Permalink
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. def hundred(n: Int): Decimal

    Permalink

    Converts an Int to a Decimal that represents n hundreds.

  30. def hundredth(n: Int): Decimal

    Permalink
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def lt(a: Decimal)(b: Decimal): Bool

    Permalink
  33. def million(n: Int): Decimal

    Permalink
  34. def millionth(n: Int): Decimal

    Permalink
  35. val minusOne: Decimal

    Permalink

    The number -1.

  36. def mul(a: Decimal)(b: Decimal): Decimal

    Permalink
  37. def ne(a: Decimal)(b: Decimal): Bool

    Permalink
    Annotations
    @inline()
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. def negate(value: Decimal): Decimal

    Permalink
  40. def neq(a: Decimal)(b: Decimal): Bool

    Permalink
  41. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  43. val one: Decimal

    Permalink
  44. def round(decimal: Decimal): Decimal

    Permalink
  45. def shiftDecimalLeft(n: Int)(value: Decimal): Decimal

    Permalink
  46. def shiftDecimalRight(n: Int)(value: Decimal): Decimal

    Permalink
  47. def sub(a: Decimal)(b: Decimal): Decimal

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

    Permalink
    Definition Classes
    AnyRef
  49. def thousand(n: Int): Decimal

    Permalink
  50. implicit def toBigDecimalOps(value: BigDecimal): BigDecimalOps

    Permalink
    Definition Classes
    DecimalModuleCompat
  51. def toFloat(value: Decimal): Float

    Permalink
  52. def toString(value: Decimal): String

    Permalink
  53. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  54. def truncate(decimal: Decimal): Decimal

    Permalink
  55. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. val zero: Decimal

    Permalink

Inherited from DecimalModuleCompat

Inherited from AnyRef

Inherited from Any

Ungrouped