Rate
world.money.rates$package.Rate
object Rate
Factories and accessors for Rate.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Rate.type
Members list
Type members
Classlikes
final case class Invalid(value: BigDecimal) extends WorldError
Carries the rejected value.
Carries the rejected value.
Attributes
- Supertypes
-
trait Producttrait Equalsclass WorldErrorclass TypedErrortrait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Cross-rate composition through a pivot, exact.
Cross-rate composition through a pivot, exact.
Attributes
The reciprocal rate at an explicit scale and mode.
The reciprocal rate at an explicit scale and mode.
Attributes
Givens
Givens
given given_CanEqual_Rate_Rate: [F <: Currency & Singleton, T <: Currency & Singleton] => CanEqual[Rate[F, T], Rate[F, T]]
Extensions
Extensions
extension [F <: Currency & Singleton, T <: Currency & Singleton](r: Rate[F, T])
Cross-rate composition through a pivot, exact: usdToEur.andThen(eurToKes).
Cross-rate composition through a pivot, exact: usdToEur.andThen(eurToKes).
Attributes
The reciprocal rate. Inexact in general, so it is one correctly-rounded division at the scale and mode given here rather than through an intermediate context.
The reciprocal rate. Inexact in general, so it is one correctly-rounded division at the scale and mode given here rather than through an intermediate context.
Attributes
In this article