TypedValue.ComplexToFraction(Int32, Single, Single) Method

Definition

Converts a complex data value holding a fraction to its final floating point value.

[Android.Runtime.Register("complexToFraction", "(IFF)F", "")]
public static float ComplexToFraction (int data, float base, float pbase);
static member ComplexToFraction : int * single * single -> single

Parameters

data
Int32

A complex data value holding a unit, magnitude, and mantissa.

base
Single

The base value of this fraction. In other words, a standard fraction is multiplied by this value.

pbase
Single

The parent base value of this fraction. In other words, a parent fraction (nn%p) is multiplied by this value.

Returns

Single
Attributes

Remarks

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