Number.FloatValue Method

Definition

Returns the value of the specified number as a float, which may involve rounding.

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

Returns

Single

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

Attributes

Remarks

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