Partager via


Double.FloatValue Method

Definition

Returns the value of this Double as a float after a narrowing primitive conversion.

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

Returns

the double value represented by this object converted to type float

Attributes

Remarks

Returns the value of this Double as a float after a narrowing primitive conversion.

Added in 1.0.

Java documentation for java.lang.Double.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