次の方法で共有


Rational.Denominator Property

Definition

Gets the denominator of the rational

public int Denominator { [Android.Runtime.Register("getDenominator", "()I", "")] get; }
[<get: Android.Runtime.Register("getDenominator", "()I", "")>]
member this.Denominator : int

Property Value

Attributes

Remarks

Gets the denominator of the rational

The denominator may return 0, in which case the rational may represent positive infinity (if the numerator was positive), negative infinity (if the numerator was negative), or NaN (if the numerator was 0).

The denominator will always return 1 if the numerator is 0.

Java documentation for android.util.Rational.getDenominator().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to