open class Rational
The rational data type of EXIF tag. Contains a pair of longs representing the numerator and denominator of a Rational number.
Rational(nominator: Long, denominator: Long)
Create a Rational with a given numerator and denominator. Rational(r: Rational!)
Create a copy of a Rational. |
open fun equals(other: Any?): Boolean |
|
open fun getDenominator(): Long
Gets the denominator of the rational |
|
open fun getNumerator(): Long
Gets the numerator of the rational. |
|
open fun toDouble(): Double
Gets the rational value as type double. Will cause a divide-by-zero error if the denominator is 0. |
|
open fun toString(): String |