
上QQ阅读APP看书,第一时间看更新
Float
This type represents a single precision 32-bit floating-point number. When used with a variable, this type specifies that the variable can only hold floating-point values. Its range is approximately ±3.40282347E+38F (6-7 significant decimal digits):
var pi: Float = 3.142