object HKD extends Currency
- Source
- Money.scala
- Alphabetic
- By Inheritance
- HKD
- Currency
- UnitOfMeasure
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def /(that: Money): CurrencyExchangeRate
- Definition Classes
- Currency
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[A](n: A)(implicit num: Numeric[A]): Money
Factory method for creating instances of a Quantity in this UnitOfMeasure
Factory method for creating instances of a Quantity in this UnitOfMeasure
- n
N - the Quantity's value in terms of this UnitOfMeasure
- Definition Classes
- Currency → UnitOfMeasure
- def apply(d: BigDecimal): Money
- Definition Classes
- Currency
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- Currency
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val code: String
- Definition Classes
- Currency
- final def convertFrom[N](n: N)(implicit num: Numeric[N]): Double
Applies the converterFrom method to a value
Applies the converterFrom method to a value
- N
Type
- n
N value in terms of this Unit
- num
Numeric[N]
- Definition Classes
- UnitOfMeasure
- final def convertTo[N](n: N)(implicit num: Numeric[N]): Double
Applies the converterTo method to a value
Applies the converterTo method to a value
- N
Type
- n
N value in terms of the ValueUnit
- num
Numeric[N]
- Definition Classes
- UnitOfMeasure
- def converterFrom: (Double) => Double
Defines a signature for converting a quantity from this UOM to the Value UOM
Defines a signature for converting a quantity from this UOM to the Value UOM
- Attributes
- protected
- Definition Classes
- Currency → UnitOfMeasure
- def converterTo: (Double) => Double
Defines a signature for converting a quantity to this UOM from the Value UOM
Defines a signature for converting a quantity to this UOM from the Value UOM
- Attributes
- protected
- Definition Classes
- Currency → UnitOfMeasure
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Currency → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val formatDecimals: Int
- Definition Classes
- Currency
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- Currency → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- Definition Classes
- Currency
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val symbol: String
Symbol used when representing Quantities in this UnitOfMeasure
Symbol used when representing Quantities in this UnitOfMeasure
- Definition Classes
- Currency → UnitOfMeasure
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Currency → AnyRef → Any
- def unapply(q: Money): Some[Double]
Extractor method for getting the Numeric value of a Quantity in this UnitOfMeasure
Extractor method for getting the Numeric value of a Quantity in this UnitOfMeasure
- q
A - The Quantity being matched
- Definition Classes
- UnitOfMeasure
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()