Serialized Form
-
Package <Unnamed>
-
Class Rational
class Rational extends Number implements Serializable-
Serialized Fields
-
denominator
int denominator
The denominator part of the rational number. Always greater or equal 1. The denominator is 1 if numerator is 0. -
numerator
int numerator
The numerator part of the rational number.
-
-
-