Udostępnij za pośrednictwem


Rational.Numerator Property

Definition

Gets the numerator of the rational.

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

Property Value

Attributes

Remarks

Gets the numerator of the rational.

The numerator will always return 1 if this rational represents infinity (that is, the denominator is 0).

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

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