OpaqueBigDecimal

org.encalmo.models.OpaqueBigDecimal
trait OpaqueBigDecimal[O] extends OpaqueType[O, BigDecimal]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AmountDecimal

Members list

Value members

Concrete methods

inline def apply(value: String): O
inline def of(value: BigDecimal): O
inline def of(value: Int): O

Inherited methods

inline def unapply(value: O): Option[BigDecimal]

Attributes

Inherited from:
OpaqueType

Inherited and Abstract methods

def apply(value: BigDecimal): O

Attributes

Inherited from:
OpaqueType
def show(value: O): BigDecimal

Attributes

Inherited from:
OpaqueType

Givens

Givens

given given_Function_O_Value: O => Value
inline given given_Ordering_O: Ordering[O]
given given_ReadWriter_O: ReadWriter[O]

Extensions

Extensions

extension (value: O)
inline def *(n: Int): O
inline def *(n: Double): O
inline def *(n: BigDecimal): O
inline def +(n: Int): O
inline def +(n: O): O
inline def -(n: Int): O
inline def -(n: O): O
inline def /(n: Int): O
inline def /(n: Double): O
inline def /(n: BigDecimal): O
inline def integral: O
inline def roundTo(decimalPlace: Int): O
inline def roundToInt: Int
inline def roundToIntDown: Int
inline def roundToIntUp: Int
inline def toBigDecimal: BigDecimal
inline def toDouble: Double
inline def toInt: Int
inline def toLong: Long

Inherited extensions

extension (value: O)
inline def existsIn(values: O*): Boolean

Attributes

Inherited from:
OpaqueType