Language

TypedValue.Float Property

Definition

Return the data for this value as a float.

public float Float { [Android.Runtime.Register("getFloat", "()F", "")] get; }
[<get: Android.Runtime.Register("getFloat", "()F", "")>]
member this.Float : single

Property Value

The value obtained by interpreting Data as single-precision floating-point bits.

Attributes

Remarks

Return the data for this value as a float. Only use for values whose type is #TYPE_FLOAT.

Java documentation for android.util.TypedValue.getFloat().

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