Gets a long representation of the value.
the tag's value as a long, or defaultValue if no representation exists.
value to return if there is no value or value is a rational with a denominator of 0.