scalus.cardano.ledger.UnitInterval
See theUnitInterval companion object
Represents a unit interval (a number between 0 and 1) in the Cardano blockchain.
A unit interval is represented as a fraction with a numerator and denominator, where numerator <= denominator and denominator > 0.
Value parameters
- denominator
-
The denominator of the fraction
- numerator
-
The numerator of the fraction
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article