Rational.DoubleValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.