Gets the value as a Rational. If there are more than 1 Rationals in this value, gets the first one. This method should be used for tags of type TYPE_RATIONAL or TYPE_UNSIGNED_RATIONAL .
Return
the tag's value as a Rational, or the defaultValue.
Parameters
defaultValue
the numerator of the Rational to return if tag's value does not exist or cannot be converted to a Rational (the denominator will be 1).
Gets the value as a Rational. If there are more than 1 Rationals in this value, gets the first one. This method should be used for tags of type TYPE_RATIONAL or TYPE_UNSIGNED_RATIONAL .
Return
the tag's value as a Rational, or the defaultValue.
Parameters
defaultValue
the Rational to return if tag's value does not exist or cannot be converted to a Rational.