Freigeben über


Number.FloatValue Method

Definition

Returns the value of the specified number as a float.

[Android.Runtime.Register("floatValue", "()F", "GetFloatValueHandler")]
public abstract float FloatValue ();
[<Android.Runtime.Register("floatValue", "()F", "GetFloatValueHandler")>]
abstract member FloatValue : unit -> single

Returns

the numeric value represented by this object after conversion to type float.

Attributes

Remarks

Returns the value of the specified number as a float.

Java documentation for java.lang.Number.floatValue().

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