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. |
fun equals(obj: java.lang.Object): boolean |
|
fun getDenominator(): long
Gets the denominator of the rational |
|
fun getNumerator(): long
Gets the numerator of the rational. |
|
fun toDouble(): double
Gets the rational value as type double. Will cause a divide-by-zero error if the denominator is 0. |
|
fun toString(): java.lang.String |