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 abs(value: Decimal): Decimal

    Permalink

    Absolute value (sets the sign as positive)

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

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

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

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

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

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

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

    Permalink
  13. def clone(): AnyRef

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

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

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

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

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

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

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

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

    Permalink

    Converts a Float to a Decimal

  22. def fromInt(value: Int): Decimal

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

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

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

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

    Permalink
  27. def hashCode(): Int

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

    Permalink

    Converts an Int to a Decimal that represents n hundreds.

  29. def hundredth(n: Int): Decimal

    Permalink
  30. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
  34. val minusOne: Decimal

    Permalink

    The number -1.

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

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

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

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

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

    Permalink
  40. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  42. val one: Decimal

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

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

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

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

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

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

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

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

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

    Permalink
  52. def toString(): String

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

    Permalink
  54. final def wait(): Unit

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

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

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

    Permalink

Inherited from DecimalModuleCompat

Inherited from AnyRef

Inherited from Any

Ungrouped