Number.FloatValue 方法

定义

返回指定数字的值作为一个 float

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

返回

转换为类型 float后此对象表示的数值。

属性

注解

返回指定数字的值作为一个 float

适用于 . 的 java.lang.Number.floatValue()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于