다음을 통해 공유


Rational.DoubleValue Method

Definition

Returns the value of the specified number as a double.

[Android.Runtime.Register("doubleValue", "()D", "")]
public override double DoubleValue ();
[<Android.Runtime.Register("doubleValue", "()D", "")>]
override this.DoubleValue : unit -> double

Returns

the divided value of the numerator and denominator as a double.

Attributes

Remarks

Returns the value of the specified number as a double.

The double is calculated by converting both the numerator and denominator to a double; then returning the result of dividing the numerator by the denominator.

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

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